code: def testAddN(self):
      add = def_function.function(gen_composite_ops.my_add_n)
      t1 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
      t2 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
      t3 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
      sq1 = add([t1])
      sq2 = add([t1, t2])
      sq3 = add([t1, t2, t3])
      self.assertAllEqual(sq1.numpy().reshape(-1), [1, 2, 3, 4])
      self.assertAllEqual(sq2.numpy().reshape(-1), [2, 4, 6, 8])
      self.assertAllEqual(sq3.numpy().reshape(-1), [3, 6, 9, 12])
  
file_path: tensorflow-upstream/tensorflow/compiler/mlir/tfr/integration/graph_decompose_test.py
imports: import os
  from tensorflow.compiler.mlir.tfr.resources import gen_composite_ops
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import load_library
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the GraphDecomposeTest obj's underlying member method code with example usage: obj.testAddN() without return types