code: def test_comparison(self):
      def f(a, b, c, d):
          return a < b == c > d
  
      tr = self.transform(f, logical_expressions)
  
      # Note: having just the first constant a tensor tests that the
      # operations execute in the correct order. If anything other than
      # a < b executed first, the result would be a Python scalar and not a
      # Tensor. This is valid as long as the dispat is automatic based on
      # type.
      self.assertTrue(
          self.evaluate(tr(constant_op.constant(1), 2, 2, 1))
      )
      self.assertFalse(
          self.evaluate(tr(constant_op.constant(1), 2, 2, 3))
      )
  
file_path: tensorflow-upstream/tensorflow/python/autograph/converters/logical_expressions_test.py
imports: from tensorflow.python.autograph.converters import logical_expressions
  from tensorflow.python.autograph.core import converter_testing
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the LogicalExpressionTest obj's underlying member method code with example usage: obj.test_comparison() and returns: unknown