Link Search Menu Expand Document

ParseTensor


tensorflow C++ API

tensorflow::ops::ParseTensor

Transforms a serialized tensorflow.TensorProto proto into a Tensor.


Summary

Arguments:

  • scope: A Scope object
  • serialized: A scalar string containing a serialized TensorProto proto.
  • out_type: The type of the serialized tensor. The provided type must match the type of the serialized tensor and no implicit conversion will take place.

Returns:


ParseTensor block

Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_parsing_op.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • Input serialized: connect Input node.
  • DataType out_type: Input DataType in value.

Return:

  • Output output : Output object of ParseTensor class object.

Result:

  • std::vector(Tensor) result_output : Returned object of executed result by calling session.

Using Method