code: def testPyFuncInterop(self):
      def py_func_fn(a, b):
          return a + b
  
      @tf.function
      def fn(a, b):
          result = tf.py_function(py_func_fn, [a, b], a.dtype)
          return np.asarray(result)
  
      a = np.asarray(1.0)
      b = np.asarray(2.0)
  
      result = fn(a, b)
      self.assertIsInstance(result, np.ndarray)
      self.assertAllClose(result, 3.0)
  
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 12 for calling the InteropTest obj's underlying member method code with example usage: obj.testPyFuncInterop() and returns: unknown, np