tf.contrib.eager.get_optimizer_variables
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 of tf.compat.v1.train.Optimizer which has created variables (typically after a call to Optimizer.minimize). |
| Returns | |
|---|---|
A list of variables which have been created by the Optimizer. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/eager/get_optimizer_variables