code: def test_dynamic_function():
      dy_tt = relay.TensorType([relay.Any()], "float32")
      s_tt = relay.TensorType([10], "float32")
      x = relay.Var("x", dy_tt)
      f = relay.Function([x], x + x)
      y = relay.Var("y", s_tt)
      c = f(y)
  
      mod = tvm.IRModule()
      mod["main"] = relay.Function([y], c)
      mod = transform.InferType()(mod)
      assert mod["main"].params[0].checked_type == s_tt
  
      data = relay.var(
          "data",
          shape=(relay.Any(), relay.Any(), relay.Any(), relay.Any()),
          dtype="float32",
      )
      weigth = relay.const(
          np.full((16, 16, 3, 3), 0.25), dtype="float32"
      )
      x = relay.nn.conv2d(
          data, weigth, kernel_size=(3, 3), channels=16, groups=2
      )
      mod = tvm.IRModule.from_expr(x)
      mod = transform.InferType()(mod)
  
imports: import pytest
  import tvm
  from tvm import IRModule, parser, relay, te
  from tvm.relay import analysis, op, transform
  from tvm.relay.op import op
  import numpy
label_desc: Use image node_id 27 for calling a global function with example usage: test_dynamic_function() without return types