tf.contrib.framework.get_or_create_global_step

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

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

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

THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Please switch to tf.train.get_or_create_global_step

Args:

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

Returns:

The global step tensor.