Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.framework.add_model_variable

tf.contrib.framework.add_model_variable(var)

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

Adds a variable to the GraphKeys.MODEL_VARIABLES collection.

Args:

  • var: a variable.