def METHOD_NAME(self, X, y) -> np.ndarray:
    self.check_is_fitted()
    X, y = check_X_y(X, y, coerce_to_numpy=True)
    n_instances, n_dims, series_length = X.shape
    if (
        n_instances != self.n_instances_
        or n_dims != self.n_dims_
        or series_length != self.series_length_
    ):
        raise ValueError(
            "n_instances, n_dims, series_length mismatch. X should be "
            "the same as the training data used in fit for generating train "
            "probabilities."
        )
    if not self.save_transformed_data:
        raise ValueError("Currently only works with saved transform data from fit.")
    return self._rotf.METHOD_NAME(self.transformed_data_, y)