code: def testCondInterop(self):
      x = np.asarray(3.0)
  
      def fn(x):
          x_plus_1 = tf.cond(x > 0, lambda: x + 1, lambda: x + 2)
          x_plus_2 = tf.cond(x < 0, lambda: x + 1, lambda: x + 2)
  
          return x_plus_1, x_plus_2
  
      raw_x_plus_1, raw_x_plus_2 = fn(x)
      fn_x_plus_1, fn_x_plus_2 = tf.function(fn)(x)
  
      self.assertAllClose(raw_x_plus_1, x + 1)
      self.assertAllClose(raw_x_plus_2, x + 2)
  
      self.assertAllClose(fn_x_plus_1, x + 1)
      self.assertAllClose(fn_x_plus_2, x + 2)
  
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 4 for calling the InteropTest obj's underlying member method code with example usage: obj.testCondInterop() and returns: x_plus_1,  x_plus_2