code: def ordered_union(l1, l2):
      """
      Return the union of l1 and l2, with a deterministic ordering.
      (Union of python sets does not necessarily have a consisten iteration
      order)
      :param l1: list of items
      :param l2: list of items
      :returns: list containing one copy of each item that is in l1 or in l2
      """
      out = []
      for e in l1 + l2:
          if e not in out:
              out.append(e)
      return out
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from collections import OrderedDict
  import warnings
  import logging
  import os
  import re
  import subprocess
  import numpy
  from six.moves import xrange
label_desc: Use image node_id 13 for calling a global function with example usage: ordered_union(l1, l2) and returns: out