View source on GitHub |
Returns and create (if necessary) the global step tensor.
tf.train.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. |