tf.contrib.framework.get_variables()

tf.contrib.framework.get_variables(scope=None, suffix=None, collection='variables')

Gets the list of variables, filtered by scope and/or suffix.

Args:
  • scope: an optional scope for filtering the variables to return.
  • suffix: an optional suffix for filtering the variables to return.
  • collection: in which collection search for. Defaults to GraphKeys.VARIABLES.
Returns:

a list of variables in collection with scope and suffix.

doc_TensorFlow
2016-10-14 13:04:48
Comments
Leave a Comment

Please login to continue.