tf.is_variable_initialized

Tests if a variable has been initialized.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.is_variable_initialized

variable A Variable.

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