code: def compute_resize2d(attrs, inputs, out_type):
      """
      Compute function calls into topi
      """
      layout = attrs.layout
      method = attrs.method
      coord_trans = attrs.coordinate_transformation_mode
      rounding_method = attrs.rounding_method
      cubic_alpha = attrs.cubic_alpha
      cubic_exclude = attrs.cubic_exclude
      extrapolation_value = attrs.extrapolation_value
      out_dtype = attrs.out_dtype
      return [
          tvm.topi.image.resize2d(
              inputs[0],
              inputs[2],
              inputs[1],
              layout,
              method,
              coord_trans,
              rounding_method,
              cubic_alpha,
              cubic_exclude,
              extrapolation_value,
              out_dtype,
              out_type.shape,
          )
      ]
  
file_path: tvm/python/tvm/relay/op/dyn/image/_image.py
imports: from __future__ import absolute_import
  import tvm.topi
  from tvm.runtime import convert
  from tvm.te.hybrid import script
  from tvm.topi.utils import nchw_pack_layout, nchw_xc_layout
  from ...None import op
label_desc: Use image node_id 1 for calling a global function with example usage: compute_resize2d(attrs, inputs, out_type) and returns: list