TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.framework.get_unique_variable

View source on GitHub

Gets the variable uniquely identified by that var_op_name.

tf.contrib.framework.get_unique_variable(var_op_name)

Args:

  • var_op_name: the full name of the variable op, including the scope.

Returns:

a tensorflow variable.

Raises:

  • ValueError: if no variable uniquely identified by the name exists.