docstr: Generate sequence with [max, min, rest of original entries]
docstr_tok: ["Generate","sequence","with","[","max",",","min",",","rest","of","original","entries","]"]
code: def maxmin_dup_sequence(self, x):
      """
      Generate sequence with [max, min, rest of original entries]
      """
      x = np.array(x)
      y = [x.max(), x.min()] + list(x[2:])
      return np.array(y)[: self.OUTPUT_SEQUENCE_LENGTH]
  
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 3 for calling the SequencePattern obj's underlying member method code with example usage: obj.maxmin_dup_sequence(x) and returns: np