Link Search Menu Expand Document

IsVariableInitialized


tensorflow C++ API

tensorflow::ops::IsVariableInitialized

Checks whether a tensor has been initialized.


Summary

Outputs boolean scalar indicating whether the tensor has been initialized.

Arguments:

  • scope: A Scope object
  • ref: Should be from a Variable node. May be uninitialized.

Returns:

  • Output: The is_initialized tensor.

IsVariableInitialized block

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

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • Input ref: connect Input node.

Return:

  • Output output : Output object of IsVariableInitialized class object.

Result:

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

Using Method