tf.contrib.framework.get_unique_variable

View source on GitHub

Gets the variable uniquely identified by that var_op_name.

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

a tensorflow variable.

ValueError if no variable uniquely identified by the name exists.