code: def testFunctionInterop(self):
      x = np.asarray(3.0)
      y = np.asarray(2.0)
  
      add = lambda x, y: x + y
      add_fn = tf.function(add)
  
      raw_result = add(x, y)
      fn_result = add_fn(x, y)
  
      self.assertIsInstance(raw_result, np.ndarray)
      self.assertIsInstance(fn_result, np.ndarray)
      self.assertAllClose(raw_result, fn_result)
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.numpy_ops import np_math_ops
label_desc: Use image node_id 1 for calling the FunctionTest obj's underlying member method code with example usage: obj.testFunctionInterop() without return types