code: def compute_affine_grid(attrs, inputs, out_dtype):
      target_shape = get_const_tuple(attrs.target_shape)
      return [topi.image.affine_grid(inputs[0], target_shape)]
  
imports: from __future__ import absolute_import
  from tvm.te.hybrid import script
  from tvm.runtime import convert
  from tvm import topi
  from tvm.topi.utils import get_const_tuple
  from ..None import op
  from ..None import strategy
  from ..op import OpPattern
  from .image import resize2d
label_desc: Use image node_id 13 for calling a global function with example usage: compute_affine_grid(attrs, inputs, out_dtype) and returns: list