code: def test_comparison_ops(self):
      def fn1(a: complex, b: complex):
          return a == b
  
      def fn2(a: complex, b: complex):
          return a != b
  
      def fn3(a: complex, b: float):
          return a == b
  
      def fn4(a: complex, b: float):
          return a != b
  
      x, y = 2 - 3j, 4j
      self.checkScript(fn1, (x, x))
      self.checkScript(fn1, (x, y))
      self.checkScript(fn2, (x, x))
      self.checkScript(fn2, (x, y))
  
      x1, y1 = 1 + 0j, 1.0
      self.checkScript(fn3, (x1, y1))
      self.checkScript(fn4, (x1, y1))
  
imports: import torch
  import os
  import sys
  from torch.testing._internal.jit_utils import JitTestCase, execWrapper
  from torch.testing._internal.common_utils import IS_MACOS
  from typing import List, Dict
  from itertools import product
  from textwrap import dedent
  import cmath
label_desc: Use image node_id 10 for calling the TestComplex obj's underlying member method code with example usage: obj.test_comparison_ops() and returns: unknown, unknown, unknown, unknown