fix docstring

This commit is contained in:
Benjamin Trom 2024-02-07 16:08:46 +01:00
parent 2e526d35d1
commit bbe0759151

View file

@ -252,7 +252,7 @@ ConfigType = TypeVar("ConfigType", bound=BaseConfig)
class _Dataset(Dataset[Batch]):
"""
A wrapper around the `get_item` method to create a [`torch.utils.data.Dataset`]
A wrapper around the `get_item` method to create a [`torch.utils.data.Dataset`][torch.utils.data.Dataset].
"""
def __init__(self, get_item: Callable[[int], Batch], length: int) -> None: