code: def _tf2_callback():
      global RandomDataset
      if tf2.enabled():
          RandomDataset = RandomDatasetV2
      else:
          RandomDataset = RandomDatasetV1
  
file_path: tensorflow/tensorflow/python/data/experimental/ops/random_ops.py
imports: import functools
  from tensorflow.python import tf2
  from tensorflow.python.compat import v2_compat
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import random_op
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 for calling a global function with example usage: _tf2_callback() without return types