Link Search Menu Expand Document

TensorArrayClose


tensorflow C++ API

tensorflow::ops::TensorArrayClose

Delete the TensorArray from its resource container.


Summary

This enables the user to close and release the resource in the middle of a step/run.

Arguments:

  • scope: A Scope object
  • handle: The handle to a TensorArray (output of TensorArray or TensorArrayGrad ).

Returns:

  • the created Operation.

Constructor

  • TensorArrayClose(const ::tensorflow::Scope & scope, ::tensorflow::Input handle).

Public attributes

  • tensorflow::Operation operation.

TensorArrayClose 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.)
  • Input handle : connect Input node.

Return:

  • Operation operation: Output object of TensorArrayClose class object.

Result:

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

Using Method