code: def testTFNPArrayTFOpInterop(self):
      arr = np.asarray(10.0)
  
      # TODO(nareshmodi): Test more ops.
      sq = tf.square(arr)
      self.assertIsInstance(sq, tf.Tensor)
      self.assertEqual(100.0, sq.numpy())
  
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 8 for calling the InteropTest obj's underlying member method code with example usage: obj.testTFNPArrayTFOpInterop() without return types