tf.compat.v1.GraphKeys

View source on GitHub

Standard names to use for graph collections.

The standard library uses various well-known names to collect and retrieve values associated with a graph. For example, the tf.Optimizer subclasses default to optimizing the variables collected under tf.GraphKeys.TRAINABLE_VARIABLES if none is specified, but it is also possible to pass an explicit list of variables.

The following standard keys are defined:

The following standard keys are defined, but their collections are not automatically populated as many of the others are:

Class Variables