code: def test_tvmscript_torch_decorator():
      q1 = (torch.rand(8, 8) + 0.5).int().bool()
      q2 = torch.rand(8, 8) - 0.5
      q3 = torch.zeros(8, 8).bool()
      q4 = torch.zeros(8, 8)
  
      std1 = negate_vanila(q1, q2)
      std2 = torch.abs(q2)
  
      negate_tvmscript(q1, q2, q3, q4)
  
      tvm.testing.assert_allclose(
          std1.numpy(), q3.numpy(), atol=1e-5, rtol=1e-5
      )
      tvm.testing.assert_allclose(
          std2.numpy(), q4.numpy(), atol=1e-5, rtol=1e-5
      )
  
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 9 for calling a global function with example usage: test_tvmscript_torch_decorator() without return types