code: def _write_tfrecord_files(path):
      elwc_list = [ELWC.SerializeToString()] * 10
      if tf.io.gfile.exists(path):
          tf.io.gfile.remove(path)
  
      with tf.io.TFRecordWriter(path) as writer:
          for elwc in elwc_list:
              writer.write(elwc)
  
imports: import os
  from absl.testing import parameterized
  import tensorflow
  from tensorflow import estimator
  import tensorflow_ranking
  from google.protobuf import text_format
  from tensorflow_ranking.extension import pipeline
  from tensorflow_serving.apis import input_pb2
label_desc: Use image node_id 4 for calling a global function with example usage: _write_tfrecord_files(path) without return types