Link Search Menu Expand Document

TensorArrayRead


tensorflow C++ API

tensorflow::ops::TensorArrayRead

Read an element from the TensorArray into output value.


Summary

Arguments:

  • scope: A Scope object
  • handle: The handle to a TensorArray.
  • flow_in: A float scalar that enforces proper chaining of operations.
  • dtype: The type of the elem that is returned.

Returns:

  • Output : The tensor that is read from the TensorArray.

Constructor

  • TensorArrayRead(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input index, ::tensorflow::Input flow_in, DataType dtype).

Public attributes

  • tensorflow::Output flow_out.

TensorArrayRead block

Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_data_flow_ops.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • handle : connect Input node.
  • index : connect Input node or input index number.
  • flow_in : connect Input node.
  • DataType dtype : input datatype. ex) DT_DOUBLE

Return:

  • Output value: Output object of TensorArrayRead class object.

Result:

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

Using Method