code: def test_optimize_out_comparison_same_value(self):
      def foo(x: int):
          return x == x, x != x
  
      def foo2(x: List[int]):
          return x == x, x != x
  
      for func, inp in zip([foo, foo2], [1, [2, 3]]):
          func_s = torch.jit.script(func)
          self.run_pass("peephole", func_s.graph)
          FileCheck().check_not("aten::eq").check_not("aten::neq").run(
              func_s.graph
          )
          self.assertEqual(func(inp), func_s(inp))
  
imports: import torch
  from torch.testing._internal.jit_utils import JitTestCase, RUN_CUDA, _inline_everything
  from torch import nn
  from torch.testing import FileCheck
  from typing import Callable, List
  import unittest
label_desc: Use image node_id 16 for calling the TestPeephole obj's underlying member method code with example usage: obj.test_optimize_out_comparison_same_value() and returns: unknown,  unknown, unknown,  unknown