tf.contrib.framework.get_unique_variable(var_op_name)
See the guide: Framework (contrib) > Variables
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.Defined in tensorflow/contrib/framework/python/ops/variables.py
.
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/framework/get_unique_variable