code: def save_label(labels, filename):
      """Convert label data into TFRecords."""
      num_examples = labels.shape[0]
  
      with tf.io.TFRecordWriter(filename) as writer:
          for index in range(num_examples):
              label = labels[index]
              example = encode_label(label)
              writer.write(example.SerializeToString())
  
file_path: tf-encrypted/tf_encrypted/keras/datasets/convert.py
imports: import tensorflow
label_desc: Use image node_id 10 for calling a global function with example usage: save_label(labels, filename) without return types