def METHOD_NAME(g, input, rois, spatial_scale, pooled_height, pooled_width):
    METHOD_NAME = g.op(
        "MaxRoiPool", input, rois, pooled_shape_i=(pooled_height, pooled_width), spatial_scale_f=spatial_scale
    )
    return METHOD_NAME, None