code: def testAddFromCpuMultiple(self):
      val1 = np.array([4, 3, 2, 1]).astype(np.float32)
      val2 = np.array([5, 6, 7, 8]).astype(np.float32)
      expected = val1 + val2
      with self.session():
          with ops.device(CPU_DEVICE):
              input1 = constant_op.constant(val1, name="const1")
              input2 = constant_op.constant(val2, name="const2")
          with self.test_scope():
              output = math_ops.add(input1, input2)
          for _ in range(10):
              result = self.evaluate(output)
              self.assertAllClose(result, expected, rtol=1e-3)
  
file_path: tensorflow-upstream/tensorflow/compiler/tests/clustering_test.py
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the ClusteringTest obj's underlying member method code with example usage: obj.testAddFromCpuMultiple() without return types