class_docstr: A pipeline that converts an EventSequence to a model encoding.
class_docstr_tok: ["A","pipeline","that","converts","an","EventSequence","to","a","model","encoding","."]
code: def transform(self, input_object):
      seq = input_object
      encoded = pipelines_common.make_sequence_example(
          *self._encoder_decoder.encode(seq)
      )
      return [encoded]
  
imports: from magenta.pipelines import pipeline
  from magenta.pipelines import pipelines_common
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the EncoderPipeline obj's underlying member method code with example usage: obj.transform(input_object) and returns: list