ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.raw_ops.IsVariableInitialized

Checks whether a tensor has been initialized.

Outputs boolean scalar indicating whether the tensor has been initialized.

ref A mutable Tensor. Should be from a Variable node. May be uninitialized.
name A name for the operation (optional).

A Tensor of type bool.