code: def commutative_simplify(expr, op_name):
      if expr[0] != op_name:
          return None
      new_args = []
      did_something = False
      for i in expr[1:]:
          if i[0] == op_name:
              new_args += i[1:]
              did_something = True
          else:
              new_args.append(i)
      if did_something:
          return (op_name,) + tuple(new_args)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
label_desc: Use image node_id 14 for calling a global function with example usage: commutative_simplify(expr, op_name) and returns: None, unknown