mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 13:48:46 +00:00
fix docstring
This commit is contained in:
parent
2e526d35d1
commit
bbe0759151
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue