class_docstr: Manage the double for loop.
docstr: The tensorflow global_step, i.e. how many times ``hooked_sess.run`` has been called.
  
  Note:
      1. global_step is incremented **after** each ``hooked_sess.run`` returns from TF runtime.
      2. If you make zero or more than one calls to ``hooked_sess.run`` in one
         :meth:`run_step`, local_step and global_step may increment at different speed.
docstr_tok: ["The","tensorflow","global_step",",","i.e",".","how","many","times","``","hooked_sess.run","``","has","been","called",".","Note",":","1.","global_step","is","incremented","*","*","after","*","*","each","``","hooked_sess.run","``","returns","from","TF","runtime",".","2",".","If","you","make","zero","or","more","than","one","calls","to","``","hooked_sess.run","``","in","one",":","meth",":","`","run_step","`",",","local_step","and","global_step","may","increment","at","different","speed","."]
code: def global_step(self):
      """
      The tensorflow global_step, i.e. how many times ``hooked_sess.run`` has been called.
  
      Note:
          1. global_step is incremented **after** each ``hooked_sess.run`` returns from TF runtime.
          2. If you make zero or more than one calls to ``hooked_sess.run`` in one
             :meth:`run_step`, local_step and global_step may increment at different speed.
      """
      return self._global_step
  
imports: import copy
  import time
  import weakref
  import tensorflow
  from ..compat import tfv1
  from ..callbacks import Callback, Callbacks, Monitors, MonitorBase
  from ..callbacks.steps import MaintainStepCounter
  from ..tfutils import get_global_step_value
  from ..tfutils.model_utils import describe_trainable_vars
  from ..tfutils.sesscreate import NewSessionCreator, ReuseSessionCreator
  from ..tfutils.sessinit import JustCurrentSession, SessionInit
  from ..utils import logger
  from ..utils.argtools import call_only_once
  from ..utils.utils import humanize_time_delta
  from .config import DEFAULT_CALLBACKS, DEFAULT_MONITORS, TrainConfig
label_desc: Use image node_id 5 for calling the TrainLoop obj's underlying member method code with example usage: obj.global_step() and returns: self