tf.contrib.framework.create_global_step(graph=None)

tf.contrib.framework.create_global_step(graph=None)

See the guide: Framework (contrib) > Variables

Create global step tensor in graph.

Args:

  • graph: The graph in which to create the global step. If missing, use default graph.

Returns:

Global step tensor.

Raises:

  • ValueError: if global step key is already defined.

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