code: def testCounter(self, start, step, expected_output):
      dataset = dataset_ops.Dataset.counter(start, step)
      self.assertEqual(
          [], dataset_ops.get_legacy_output_shapes(dataset).as_list()
      )
      self.assertEqual(
          dtypes.int64, dataset_ops.get_legacy_output_types(dataset)
      )
      get_next = self.getNext(dataset)
      for expected in expected_output:
          self.assertEqual(expected, self.evaluate(get_next()))
  
file_path: tensorflow/tensorflow/python/data/kernel_tests/counter_test.py
imports: from absl.testing import parameterized
  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 dtypes
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the CounterTest obj's underlying member method code with example usage: obj.testCounter(start, step, expected_output) without return types