def METHOD_NAME(g, input, rois, offset, output_size, spatial_scale,
             sampling_ratio, gamma):
    return g.op(
        'mmcv::MMCVDeformRoIPool',
        input,
        rois,
        offset,
        pooled_height_i=output_size[0],
        pooled_width_i=output_size[1],
        spatial_scale_f=spatial_scale,
        sampling_ratio_f=sampling_ratio,
        gamma_f=gamma)