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_variable_full_name

View source on GitHub

Returns the full name of a variable.

tf.contrib.framework.get_variable_full_name(var)

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.