code: def _iter_dataset_sum(dataset):
      value = constant_op.constant(0, dtype=dtypes.int64)
      for d in iter(dataset):
          value += d
      return value
  
file_path: tensorflow-upstream/tensorflow/python/eager/wrap_function_device_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import wrap_function
  from tensorflow.python.framework import config
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import importer
  from tensorflow.python.framework import ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling a global function with example usage: _iter_dataset_sum(dataset) and returns: value