Link Search Menu Expand Document

TensorArrayWrite


tensorflow C++ API

tensorflow::ops::TensorArrayWrite

Push an element onto the tensor_array.


Summary

Arguments:

  • scope: A Scope object
  • handle: The handle to a TensorArray.
  • index: The position to write to inside the TensorArray.
  • value: The tensor to write to the TensorArray.
  • flow_in: A float scalar that enforces proper chaining of operations.

Returns:

  • Output : A float scalar that enforces proper chaining of operations.

Constructor

  • TensorArrayWrite(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input index, ::tensorflow::Input value, ::tensorflow::Input flow_in).

Public attributes

  • tensorflow::Output flow_out.

TensorArrayWrite 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.
  • value : connect Input node or input tensor value.
  • flow_in : connect Input node.

Return:

  • Output flow_out: Output object of TensorArrayWrite class object.

Result:

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

Using Method