code: def compute_degandrad(dtype, ndim, n):
      A = tvm.te.placeholder(
          [tvm.te.size_var() for _ in range(ndim)],
          name="A",
          dtype=dtype,
      )
      import math
  
      if n == 0:
          B = tvm.te.compute(
              [tvm.te.size_var() for _ in range(ndim)],
              lambda *index: A[index]
              * tvm.tir.const(math.pi, dtype)
              / tvm.tir.const(180, dtype),
              name="B",
          )
      else:
          B = tvm.te.compute(
              [tvm.te.size_var() for _ in range(ndim)],
              lambda *index: A[index]
              / tvm.tir.const(math.pi, dtype)
              * tvm.tir.const(180, dtype),
              name="B",
          )
      s = tvm.te.create_schedule(B.op)
      return s, A, B
  
file_path: mxnet/contrib/tvmop/basic/ufunc.py
imports: import tvm
  from ..None import defop, AllTypes, RealTypes
  from ..None import assign_by_req, reduce_axes
label_desc: Use image node_id 7 for calling a global function with example usage: compute_degandrad(dtype, ndim, n) and returns: s,  A,  B