code: def get_conv2d_nhwc_shape(
      shape_nhwc, kernel_size, strides, padding, dilation, out_channels
  ):
      assert len(shape_nhwc) == 4
      kernel = []
      kernel.append((kernel_size[0] - 1) * dilation[0] + 1)
      kernel.append((kernel_size[1] - 1) * dilation[1] + 1)
      return (
          shape_nhwc[0],
          (shape_nhwc[1] - kernel[0] + padding[0] + padding[1])
          // strides[0]
          + 1,
          (shape_nhwc[2] - kernel[1] + padding[2] + padding[3])
          // strides[1]
          + 1,
          out_channels,
      )
  
file_path: tvm/tests/python/contrib/test_hexagon/infrastructure.py
imports: import numpy
  import tvm
  from tvm import te
  from tvm.relay.backend import Executor
label_desc: Use image node_id 10 for calling a global function with example usage: get_conv2d_nhwc_shape(shape_nhwc, kernel_size, strides, padding, dilation, out_channels) and returns: shape_nhwc,  unknown,  unknown,  out_channels