code: def testNestedData(self):
      dataset_a = dataset_ops.Dataset.range(10)
      dataset_b = dataset_ops.Dataset.range(10, 0, -1)
      dataset = dataset_ops.Dataset.zip((dataset_a, dataset_b)).shard(
          5, 2
      )
      self.assertDatasetProduces(
          dataset, expected_output=[(2, 8), (7, 3)]
      )
  
imports: from absl.testing import parameterized
  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.platform import test
label_desc: Use image node_id 2 for calling the ShardTest obj's underlying member method code with example usage: obj.testNestedData() without return types