code: def test_tensor_boolean_operation():
      input = torch.rand(200)
      model = optimize_torch(
          tensor_boolean_operation,
          input,
      )
      ret1 = tensor_boolean_operation(input)
      ret2 = model(input)
      tvm.testing.assert_allclose(ret1, ret2, 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 6 for calling a global function with example usage: test_tensor_boolean_operation() without return types