def METHOD_NAME(attrs, inputs, out_dtype):
    data = inputs[0]
    scale_h = inputs[1]
    scale_w = inputs[2]
    layout = attrs.layout
    method = attrs.method
    align_corners = attrs.align_corners
    return [
        topi.nn.upsampling(data, scale_h, scale_w, layout, method, align_corners, out_dtype.shape)
    ]