GetSessionTensor


tensorflow C++ API

tensorflow::ops::GetSessionTensor

Get the value of the tensor specified by its handle.


Summary

Arguments:

  • scope: A Scope object
  • handle: The handle for a tensor stored in the session state.
  • dtype: The type of the output value.

Returns:

  • Output: The tensor for the given handle.

GetSessionTensor 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: The handle for a tensor stored in the session state.
  • dtype: The type of the output value.

Return:

  • Output handle: Output object of GetSessionTensor class object.

Result:

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

Using Method

Issue : https://github.com/tensorflow/tensorflow/issues/12901

results matching ""

    No results matching ""