docstr: For a given input sequence, generate the output sequence.  x is a 1D numpy array 
  of integers, with length INPUT_SEQUENCE_LENGTH.
  
  Returns a 1D numpy array of length OUTPUT_SEQUENCE_LENGTH
  
  This procedure defines the pattern which the seq2seq RNN will be trained to find.
docstr_tok: ["For","a","given","input","sequence",",","generate","the","output","sequence",".","x","is","a","1D","numpy","array","of","integers",",","with","length","INPUT_SEQUENCE_LENGTH",".","Returns","a","1D","numpy","array","of","length","OUTPUT_SEQUENCE_LENGTH","This","procedure","defines","the","pattern","which","the","seq2seq","RNN","will","be","trained","to","find","."]
code: def generate_output_sequence(self, x):
      """
      For a given input sequence, generate the output sequence.  x is a 1D numpy array
      of integers, with length INPUT_SEQUENCE_LENGTH.
  
      Returns a 1D numpy array of length OUTPUT_SEQUENCE_LENGTH
  
      This procedure defines the pattern which the seq2seq RNN will be trained to find.
      """
      return getattr(self, "%s_sequence" % self.PATTERN_NAME)(x)
  
imports: from __future__ import division, print_function
  import os
  import sys
  import tflearn
  import argparse
  import json
  import numpy
  import tensorflow.compat.v1
  from tensorflow.contrib.legacy_seq2seq.python.ops import seq2seq
  from tensorflow.python.ops import rnn_cell
label_desc: Use image node_id 2 for calling the SequencePattern obj's underlying member method code with example usage: obj.generate_output_sequence(x) and returns: getattr