code: def _dataset_factory(components):
      datasets = tuple(
          [
              dataset_ops.Dataset.from_tensor_slices(component)
              for component in components
          ]
      )
      return dataset_ops.Dataset.zip(datasets)
  
imports: import collections
  import dataclasses
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.experimental.ops import random_access
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: _dataset_factory(components) and returns: dataset_ops