def METHOD_NAME(self) -> Tensor:
    r"""Returns the data points stored in the :class:`KNNIndex`."""
    if self.index is None:
        raise RuntimeError(f"'{self.__class__.__name__}' is not yet "
                           "initialized. Please call `add(...)` first.")
    return self.index.reconstruct_n(0, self.numel)