code: def uniq(seq):
      """
      Do not use set, this must always return the same value at the same index.
      If we just exchange other values, but keep the same pattern of duplication,
      we must keep the same order.
  
      """
      # TODO: consider building a set out of seq so that the if condition
      # is constant time -JB
      return [x for i, x in enumerate(seq) if seq.index(x) == i]
  
imports: from __future__ import absolute_import, print_function, division
  import linecache
  import sys
  import traceback
  import numpy
  from six import iteritems, integer_types, string_types, with_metaclass
  from six.moves import StringIO
  from theano import config
  from theano.compat import PY3
label_desc: Use image node_id 7 for calling a global function with example usage: uniq(seq) and returns: unknown