'Constructs an EncoderPipeline.
Args:
config: A PerformanceRnnConfig that specifies the encoder/decoder and
note density conditioning behavior.
name: A unique pipeline name.'

def __init__(self, config, name):

    super(EncoderPipeline, self).__init__(input_type=performance_lib.Performance, output_type=tf.train.SequenceExample, name=name)
    self._encoder_decoder = config.encoder_decoder
    self._density_bin_ranges = config.density_bin_ranges
    self._density_window_size = config.density_window_size
    self._pitch_histogram_window_size = config.pitch_histogram_window_size
