View source on GitHub
|
Returns an Op that initializes a list of variables.
tf.compat.v1.variables_initializer(
var_list, name='init'
)
Migrate to TF2
In TF2, variables are initialized immediately when they are created. There is no longer a need to run variable initializers before using them.
View source on GitHub