tensorflow::ops::ParseTensor

#include <parsing_ops.h>

Chuyển đổi một đối tượng proto tensorflow.TensorProto đã được tuần tự hóa thành một Tensor .

Bản tóm tắt

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • serialized: Một chuỗi ký tự vô hướng chứa một proto TensorProto đã được tuần tự hóa.
  • out_type: Kiểu dữ liệu của tensor được tuần tự hóa. Kiểu dữ liệu được cung cấp phải khớp với kiểu dữ liệu của tensor được tuần tự hóa và sẽ không có chuyển đổi ngầm định nào diễn ra.

Trả về:

Hàm khởi tạo và hàm hủy

ParseTensor (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, DataType out_type)

Thuộc tính công khai

operation
output

Chức năng công cộng

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Thuộc tính công khai

hoạt động

Operation operation

đầu ra

::tensorflow::Output output

Chức năng công cộng

ParseTensor

 ParseTensor(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input serialized,
  DataType out_type
)

nút

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const