def performance_encoder(self):
    'Encoder for target performances.'
    return music_encoders.MidiPerformanceEncoder(steps_per_second=STEPS_PER_SECOND, num_velocity_bins=NUM_VELOCITY_BINS, min_pitch=MIN_PITCH, max_pitch=MAX_PITCH, add_eos=self.add_eos_symbol)
Encoder for target performances.
def performance_encoder(self):
    
    return music_encoders.MidiPerformanceEncoder(steps_per_second=STEPS_PER_SECOND, num_velocity_bins=NUM_VELOCITY_BINS, min_pitch=MIN_PITCH, max_pitch=MAX_PITCH, add_eos=self.add_eos_symbol)