code: def test_dali_tf_op_cpu_only():
      try:
          tf.compat.v1.disable_eager_execution()
      except Exception:
          pass
  
      value = random.randint(0, 1000)
      batch_size = 3
      test_batch = get_data(batch_size, value)
      with Session() as sess:
          data = sess.run(test_batch)
          assert (data == np.array([value] * batch_size)).all()
  
file_path: DALI/dali/test/python/test_dali_tf_plugin_cpu_only.py
imports: import numpy
  import nvidia.dali.plugin.tf
  import nvidia.dali.types
  import random
  import tensorflow
  from nvidia.dali.pipeline import pipeline_def
label_desc: Use image node_id 3 for calling a global function with example usage: test_dali_tf_op_cpu_only() without return types