(min_note, max_note)
return note_seq.OneHotEventSequenceEncoderDecoder(
      note_seq.MelodyOneHotEncoding(min_note, max_note))
Return a OneHotEventSequenceEncoderDecoder for melodies.

  Args:
    min_note: The minimum midi pitch the encoded melodies can have.
    max_note: The maximum midi pitch (exclusive) the encoded melodies can have.

  Returns:
    A melody OneHotEventSequenceEncoderDecoder.
Return a OneHotEventSequenceEncoderDecoder for melodies.
Return a OneHotEventSequenceEncoderDecoder for melodies .
def one_hot_melody_encoder_decoder(min_note, max_note):
  """Return a OneHotEventSequenceEncoderDecoder for melodies.

  Args:
    min_note: The minimum midi pitch the encoded melodies can have.
    max_note: The maximum midi pitch (exclusive) the encoded melodies can have.

  Returns:
    A melody OneHotEventSequenceEncoderDecoder.
  """
  return note_seq.OneHotEventSequenceEncoderDecoder(
      note_seq.MelodyOneHotEncoding(min_note, max_note))
def one_hot_melody_encoder_decoder ( min_note , max_note ) : return note_seq . OneHotEventSequenceEncoderDecoder ( note_seq . MelodyOneHotEncoding ( min_note , max_note ) )