W3cubDocs

/TensorFlow Python

tf.contrib.framework.add_model_variable

tf.contrib.framework.add_model_variable(var)

Defined in tensorflow/contrib/framework/python/ops/variables.py.

See the guide: Framework (contrib) > Variables

Adds a variable to the GraphKeys.MODEL_VARIABLES collection.

Args:

  • var: a variable.

© 2018 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/api_docs/python/tf/contrib/framework/add_model_variable