code: def tensor_boolean_operation(x):
      arr1 = (x + 0.3).floor().bool()
      arr2 = (~((x + 0.7).int().bool())).bool()
      ret = ((arr1 & arr2).byte() + 0.5).half()
      return ~(ret.bool())
  
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 3 for calling a global function with example usage: tensor_boolean_operation(x) and returns: unknown