code: def test_dilation2d_infer_type():
      # symbolic in batch dimension
      n, h, w, c = te.var("n"), 224, 224, 10
      x = relay.var("x", relay.ty.TensorType((n, c, h, w), "float32"))
      kc, kh, kw = 10, 8, 8
      w = relay.var("w", relay.ty.TensorType((kc, kw, kh), "float32"))
      y = relay.image.dilation2d(
          x,
          w,
          # kernel_size=(3, 3),
          strides=[1, 1, 1, 1],
          dilations=[1, 1, 1, 1],
          padding=[0, 0, 0, 0],
      )
      yy = run_infer_type(y)
      assert yy.checked_type == relay.TensorType(
          (n, 10, 217, 217), "float32"
      )
  
imports: import math
  import platform
  import sys
  import numpy
  import pytest
  import tvm
  import tvm.testing
  import tvm.topi.testing
  from tvm import relay, te
  from tvm.relay.testing import run_infer_type
label_desc: Use image node_id 15 for calling a global function with example usage: test_dilation2d_infer_type() without return types