code: def _tf2_callback():  # pylint: disable=invalid-name
      global Counter
      if tf2.enabled():
          Counter = CounterV2
      else:
          Counter = CounterV1
  
file_path: tensorflow/tensorflow/python/data/experimental/ops/counter.py
imports: from tensorflow.python import tf2
  from tensorflow.python.compat import v2_compat
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.framework import dtypes
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 3 for calling a global function with example usage: _tf2_callback() without return types