'Serializes a NoteSequence proto and writes it to the file.
Args:
note_sequence: A NoteSequence proto to write.'

def write(self, note_sequence):

    tf.python_io.TFRecordWriter.write(self, note_sequence.SerializeToString())
