code: def generateTestData(
      self,
      prefix,
      n,
      m,
      compression_type=tf_record.TFRecordCompressionType.NONE,
  ):
      options = tf_record.TFRecordOptions(compression_type)
      for i in range(n):
          f = os.path.join(self.get_temp_dir(), prefix + "." + str(i))
          w = tf_record.TFRecordWriter(f, options=options)
  
          for j in range(m):
              w.write(
                  "{0:0{width}}".format(i * m + j, width=10).encode(
                      "utf-8"
                  )
              )
  
      w.close()
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/io_ops/record_input_test.py
imports: import os
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import tf_record
  from tensorflow.python.ops import data_flow_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the RecordInputOpTest obj's underlying member method code with example usage: obj.generateTestData(prefix, n, m, compression_type) without return types