tf.contrib.framework.add_model_variable(var)

tf.contrib.framework.add_model_variable(var)

See the guide: Framework (contrib) > Variables

Adds a variable to the GraphKeys.MODEL_VARIABLES collection.

Args:

  • var: a variable.

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