tf.contrib.eager.get_optimizer_variables

tf.contrib.eager.get_optimizer_variables(optimizer)

Defined in tensorflow/contrib/eager/python/saver.py.

Returns a list of variables for the given tf.train.Optimizer.

Equivalent to optimizer.variables().

Args:

  • optimizer: An instance of tf.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.