(self, config, name)
Constructs an EncoderPipeline.

    Args:
      config: An ImprovRnnConfig that specifies the encoder/decoder,
          pitch range, and transposition behavior.
      name: A unique pipeline name.
Constructs an EncoderPipeline.
Constructs an EncoderPipeline .
def __init__(self, config, name):
    """Constructs an EncoderPipeline.

    Args:
      config: An ImprovRnnConfig that specifies the encoder/decoder,
          pitch range, and transposition behavior.
      name: A unique pipeline name.
    """
    super(EncoderPipeline, self).__init__(
        input_type=note_seq.LeadSheet,
        output_type=tf.train.SequenceExample,
        name=name)
    self._conditional_encoder_decoder = config.encoder_decoder
    self._min_note = config.min_note
    self._max_note = config.max_note
    self._transpose_to_key = config.transpose_to_key
def __init__ ( self , config , name ) : super ( EncoderPipeline , self ) . __init__ ( input_type = note_seq . LeadSheet , output_type = tf . train . SequenceExample , name = name ) self . _conditional_encoder_decoder = config . encoder_decoder self . _min_note = config . min_note self . _max_note = config . max_note self . _transpose_to_key = config . transpose_to_key