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_or_create_global_step

View source on GitHub

Returns and create (if necessary) the global step tensor. (deprecated)

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

Args:

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

Returns:

The global step tensor.