Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

tf.compat.v1.is_variable_initialized

View source on GitHub

Tests if a variable has been initialized.

variable A Variable.

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