Registration is open for TensorFlow Dev Summit 2020 Learn more

tf.contrib.framework.add_model_variable

View source on GitHub

Adds a variable to the GraphKeys.MODEL_VARIABLES collection.

tf.contrib.framework.add_model_variable(var)

Args:

  • var: a variable.