code: def _compute_binary_scalar_logic(op, dtype, ndim):
      a = tvm.te.placeholder(
          [tvm.te.size_var() for _ in range(ndim)],
          name="a",
          dtype=dtype,
      )
      b = tvm.te.var("b", dtype="float64")
      c = tvm.te.compute(
          [tvm.te.size_var() for _ in range(ndim)],
          lambda *idx: _bin_scalar_logic_op_map[op](a, b, *idx),
          name="c",
      )
      s = tvm.te.create_schedule(c.op)
      return s, a, b, c
  
imports: import tvm
  from ..None import defop, AllTypes
label_desc: Use image node_id 4 for calling a global function with example usage: _compute_binary_scalar_logic(op, dtype, ndim) and returns: s,  a,  b,  c