code: def step_num():
      return tf.cast(
          tf.compat.v1.train.get_or_create_global_step(),
          dtype=tf.float32,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import tensorflow_addons
label_desc: Use image node_id 3 for calling a global function with example usage: step_num() and returns: tf