code: def register_data_v2_callback(data_v2_func):
      _DATA_V2_CALLBACKS.register(data_v2_func, data_v2_func.__module__)
  
file_path: tensorflow/tensorflow/python/compat/v2_compat.py
imports: from tensorflow.python import tf2
  from tensorflow.python.eager import monitoring
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import registry
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.ops import control_flow_v2_toggles
  from tensorflow.python.ops import resource_variables_toggle
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 for calling a global function with example usage: register_data_v2_callback(data_v2_func) without return types