@staticmethod
def _func_inv_xform(model, y, threshold):
    y = rmm_cupy_ary(cp.asarray, y, dtype=y.dtype)
    return model.inverse_transform(y, threshold)
@staticmethod
def _func_inv_xform(model, y, threshold):
    y = rmm_cupy_ary(cp.asarray, y, dtype=y.dtype)
    return model.inverse_transform(y, threshold)