code: def _createTFRecordFiles(self):
      filenames = []
      for i in range(self._num_files):
          fn = os.path.join(self.get_temp_dir(), "tf_record.%d.txt" % i)
          filenames.append(fn)
          writer = python_io.TFRecordWriter(fn)
          for j in range(self._num_records):
              record = self._record(j, i)
              writer.write(record)
          writer.close()
      return filenames
  
imports: import os
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import readers
  from tensorflow.python.data.util import structure
  from tensorflow.python.distribute import input_ops
  from tensorflow.python.eager import context
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import python_io
  from tensorflow.python.ops import gen_dataset_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 6 for calling the AutoShardDatasetTest obj's underlying member method code with example usage: obj._createTFRecordFiles() and returns: filenames