![]() |
Returns a list of variables for the given tf.compat.v1.train.Optimizer
.
tf.contrib.eager.get_optimizer_variables(optimizer)
Equivalent to optimizer.variables()
.
Args:
optimizer
: An instance oftf.compat.v1.train.Optimizer
which has created variables (typically after a call toOptimizer.minimize
).
Returns:
A list of variables which have been created by the Optimizer
.