W3cubDocs

/TensorFlow Python

tf.contrib.framework.get_variable_full_name

tf.contrib.framework.get_variable_full_name

get_variable_full_name(var)

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

Returns the full name of a variable.

For normal Variables, this is the same as the var.op.name. For sliced or PartitionedVariables, this name is the same for all the slices/partitions. In both cases, this is normally the name used in a checkpoint file.

Args:

  • var: A Variable object.

Returns:

A string that is the full name.

© 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_variable_full_name