Type GraphKeys
Namespace tensorflow
Parent PythonObjectContainer
Interfaces IGraphKeys
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: * `GLOBAL_VARIABLES`: the default collection of `Variable` objects, shared
across distributed environment (model variables are subset of these). See
`tf.compat.v1.global_variables`
for more details.
Commonly, all `TRAINABLE_VARIABLES` variables will be in `MODEL_VARIABLES`,
and all `MODEL_VARIABLES` variables will be in `GLOBAL_VARIABLES`.
* `LOCAL_VARIABLES`: the subset of `Variable` objects that are local to each
machine. Usually used for temporarily variables, like counters.
Note: use tf.contrib.framework.local_variable
to add to this collection.
* `MODEL_VARIABLES`: the subset of `Variable` objects that are used in the
model for inference (feed forward). Note: use
tf.contrib.framework.model_variable
to add to this collection.
* `TRAINABLE_VARIABLES`: the subset of `Variable` objects that will
be trained by an optimizer. See
`tf.compat.v1.trainable_variables`
for more details.
* `SUMMARIES`: the summary `Tensor` objects that have been created in the
graph. See
`tf.compat.v1.summary.merge_all`
for more details.
* `QUEUE_RUNNERS`: the `QueueRunner` objects that are used to
produce input for a computation. See
`tf.compat.v1.train.start_queue_runners`
for more details.
* `MOVING_AVERAGE_VARIABLES`: the subset of `Variable` objects that will also
keep moving averages. See
`tf.compat.v1.moving_average_variables`
for more details.
* `REGULARIZATION_LOSSES`: regularization losses collected during graph
construction. The following standard keys are _defined_, but their collections are **not**
automatically populated as many of the others are: * `WEIGHTS`
* `BIASES`
* `ACTIVATIONS`
Methods
Properties
- ACTIVATIONS_dyn
- ASSET_FILEPATHS_dyn
- BIASES_dyn
- CONCATENATED_VARIABLES_dyn
- COND_CONTEXT_dyn
- EVAL_STEP_dyn
- GLOBAL_STEP_dyn
- GLOBAL_VARIABLES_dyn
- INIT_OP_dyn
- LOCAL_INIT_OP_dyn
- LOCAL_RESOURCES_dyn
- LOCAL_VARIABLES_dyn
- LOSSES_dyn
- METRIC_VARIABLES_dyn
- MODEL_VARIABLES_dyn
- MOVING_AVERAGE_VARIABLES_dyn
- PythonObject
- QUEUE_RUNNERS_dyn
- READY_FOR_LOCAL_INIT_OP_dyn
- READY_OP_dyn
- REGULARIZATION_LOSSES_dyn
- RESOURCES_dyn
- SAVEABLE_OBJECTS_dyn
- SAVERS_dyn
- SUMMARIES_dyn
- SUMMARY_OP_dyn
- TABLE_INITIALIZERS_dyn
- TRAIN_OP_dyn
- TRAINABLE_RESOURCE_VARIABLES_dyn
- TRAINABLE_VARIABLES_dyn
- UPDATE_OPS_dyn
- WEIGHTS_dyn
- WHILE_CONTEXT_dyn
Fields
- GLOBAL_VARIABLES
- LOCAL_VARIABLES
- METRIC_VARIABLES
- MODEL_VARIABLES
- TRAINABLE_VARIABLES
- ASSET_FILEPATHS
- SUMMARIES
- QUEUE_RUNNERS
- REGULARIZATION_LOSSES
- MOVING_AVERAGE_VARIABLES
- SAVERS
- CONCATENATED_VARIABLES
- TABLE_INITIALIZERS
- WEIGHTS
- ACTIVATIONS
- LOSSES
- SAVEABLE_OBJECTS
- TRAINABLE_RESOURCE_VARIABLES
- UPDATE_OPS
- LOCAL_INIT_OP
- RESOURCES
- BIASES
- READY_OP
- EVAL_STEP
- INIT_OP
- SUMMARY_OP
- LOCAL_RESOURCES
- READY_FOR_LOCAL_INIT_OP
- TRAIN_OP
- GLOBAL_STEP
- COND_CONTEXT
- WHILE_CONTEXT
Public instance methods
object VARIABLES_dyn<TClass>()
TClass VARIABLES<TClass>()
Public properties
object ACTIVATIONS_dyn get; set;
object ASSET_FILEPATHS_dyn get; set;
object BIASES_dyn get; set;
object CONCATENATED_VARIABLES_dyn get; set;
object COND_CONTEXT_dyn get; set;
object EVAL_STEP_dyn get; set;
object GLOBAL_STEP_dyn get; set;
object GLOBAL_VARIABLES_dyn get; set;
object INIT_OP_dyn get; set;
object LOCAL_INIT_OP_dyn get; set;
object LOCAL_RESOURCES_dyn get; set;
object LOCAL_VARIABLES_dyn get; set;
object LOSSES_dyn get; set;
object METRIC_VARIABLES_dyn get; set;
object MODEL_VARIABLES_dyn get; set;
object MOVING_AVERAGE_VARIABLES_dyn get; set;
object PythonObject get;
object QUEUE_RUNNERS_dyn get; set;
object READY_FOR_LOCAL_INIT_OP_dyn get; set;
object READY_OP_dyn get; set;
object REGULARIZATION_LOSSES_dyn get; set;
object RESOURCES_dyn get; set;
object SAVEABLE_OBJECTS_dyn get; set;
object SAVERS_dyn get; set;
object SUMMARIES_dyn get; set;
object SUMMARY_OP_dyn get; set;
object TABLE_INITIALIZERS_dyn get; set;
object TRAIN_OP_dyn get; set;
object TRAINABLE_RESOURCE_VARIABLES_dyn get; set;
object TRAINABLE_VARIABLES_dyn get; set;
object UPDATE_OPS_dyn get; set;
object WEIGHTS_dyn get; set;
object WHILE_CONTEXT_dyn get; set;
Public fields
string GLOBAL_VARIABLES
return string
|
string LOCAL_VARIABLES
return string
|
string METRIC_VARIABLES
return string
|
string MODEL_VARIABLES
return string
|
string TRAINABLE_VARIABLES
return string
|
string ASSET_FILEPATHS
return string
|
string SUMMARIES
return string
|
string QUEUE_RUNNERS
return string
|
string REGULARIZATION_LOSSES
return string
|
string MOVING_AVERAGE_VARIABLES
return string
|
string SAVERS
return string
|
string CONCATENATED_VARIABLES
return string
|
string TABLE_INITIALIZERS
return string
|
string WEIGHTS
return string
|
string ACTIVATIONS
return string
|
string LOSSES
return string
|
string SAVEABLE_OBJECTS
return string
|
string TRAINABLE_RESOURCE_VARIABLES
return string
|
string UPDATE_OPS
return string
|
string LOCAL_INIT_OP
return string
|
string RESOURCES
return string
|
string BIASES
return string
|
string READY_OP
return string
|
string EVAL_STEP
return string
|
string INIT_OP
return string
|
string SUMMARY_OP
return string
|
string LOCAL_RESOURCES
return string
|
string READY_FOR_LOCAL_INIT_OP
return string
|
string TRAIN_OP
return string
|
string GLOBAL_STEP
return string
|
string COND_CONTEXT
return string
|
string WHILE_CONTEXT
return string
|