code: def testFloat(self):
      self._testNAry(
          math_ops.add_n,
          [np.array([[1, 2, 3]], dtype=np.float32)],
          expected=np.array([[1, 2, 3]], dtype=np.float32),
      )
  
      self._testNAry(
          math_ops.add_n,
          [
              np.array([1, 2], dtype=np.float32),
              np.array([10, 20], dtype=np.float32),
          ],
          expected=np.array([11, 22], dtype=np.float32),
      )
      self._testNAry(
          math_ops.add_n,
          [
              np.array([-4], dtype=np.float32),
              np.array([10], dtype=np.float32),
              np.array([42], dtype=np.float32),
          ],
          expected=np.array([48], dtype=np.float32),
      )
  
imports: import unittest
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  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 4 for calling the NAryOpsTest obj's underlying member method code with example usage: obj.testFloat() without return types