code: def _assert_global_step(
      self, global_step, expected_dtype=dtypes.int64
  ):
      self.assertEqual(
          "%s:0" % ops.GraphKeys.GLOBAL_STEP, global_step.name
      )
      self.assertEqual(expected_dtype, global_step.dtype.base_dtype)
      self.assertEqual([], global_step.get_shape().as_list())
  
file_path: tensorflow/tensorflow/python/training/training_util_test.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import variable_v1
  from tensorflow.python.platform import test
  from tensorflow.python.training import monitored_session
  from tensorflow.python.training import training_util
label_desc: Use image node_id 1 for calling the GlobalStepTest obj's underlying member method code with example usage: obj._assert_global_step(global_step, expected_dtype) without return types