IsVariableInitialized

public final class IsVariableInitialized

Checks whether a tensor has been initialized.

Outputs boolean scalar indicating whether the tensor has been initialized.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output < TBool >
asOutput ()
Returns the symbolic handle of the tensor.
static IsVariableInitialized
create ( Scope scope, Operand <? extends TType > ref)
Factory method to create a class wrapping a new IsVariableInitialized operation.
Output < TBool >

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "IsVariableInitialized"

Public Methods

public Output < TBool > asOutput ()

Returns the symbolic handle of the tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static IsVariableInitialized create ( Scope scope, Operand <? extends TType > ref)

Factory method to create a class wrapping a new IsVariableInitialized operation.

Parameters
scope current scope
ref Should be from a `Variable` node. May be uninitialized.
Returns
  • a new instance of IsVariableInitialized

public Output < TBool > isInitialized ()