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

tf.compat.v1.is_variable_initialized

Tests if a variable has been initialized.

variable A Variable.

Returns a scalar boolean Tensor, True if the variable has been initialized, False otherwise.