code: def test_type_relation():
      tp = tvm.ir.TypeVar("tp", tvm.ir.TypeKind.Type)
      tf = tvm.ir.FuncType([], None, [], [])
      tt = tvm.ir.TensorType(tvm.runtime.convert([1, 2, 3]), "float32")
      args = tvm.runtime.convert([tp, tf, tt])
  
      num_inputs = 2
      func = tvm.ir.EnvFunc.get("tvm.relay.type_relation.Broadcast")
      attrs = tvm.ir.make_node(
          "attrs.TestAttrs", name="attr", padding=(3, 4)
      )
  
      tr = tvm.ir.TypeRelation(func, args, num_inputs, attrs)
      assert tr.args == args
      assert tr.num_inputs == num_inputs
      str(tr)
      check_json_roundtrip(tr)
  
file_path: tvm/tests/python/ir/test_ir_type.py
imports: import tvm
label_desc: Use image node_id 8 for calling a global function with example usage: test_type_relation() without return types