def METHOD_NAME(data_shape, rois_shape, pooled_size):
    out = output_tensor((4,), "int64")
    out[0] = rois_shape[0]
    out[1] = data_shape[1]
    out[2] = int64(pooled_size[0])
    out[3] = int64(pooled_size[1])
    return out