View source on GitHub |
Tests if a variable has been initialized.
tf.compat.v1.is_variable_initialized(
variable
)
Args | |
---|---|
variable
|
A Variable .
|
Returns | |
---|---|
Returns a scalar boolean Tensor, True if the variable has been
initialized, False otherwise.
|