code: def negate_vanila(x, y):
      z = torch.zeros(8, 8).bool()
      for i in range(8):
          for j in range(8):
              if y[i, j] > 0:
                  z[i, j] = x[i, j]
              else:
                  z[i, j] = ~x[i, j]
      return z
  
file_path: tvm/apps/pt_tvmdsoop/tests/test_boolean_tensor.py
imports: import tempfile
  import torch
  import tvm
  import tvm.testing
  from tvm.contrib.torch import as_torch, optimize_torch
  from tvm.script import tir
label_desc: Use image node_id 8 for calling a global function with example usage: negate_vanila(x, y) and returns: z