Skip to content

Commit

Permalink
Document src attribute of DataLoader (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthrok authored Nov 19, 2024
1 parent be074a0 commit 1bb1de2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spdl/dataloader/_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ class DataLoader(Generic[Source, Output]):
- :py:func:`spdl.io.transfer_buffer`: Sending the data to GPU.
- :py:func:`spdl.io.to_torch`, :py:func:`spdl.io.to_numba`, :py:func:`spdl.io.to_jax`: Casting
the memroy buffer to array type.
:ivar src: The source object provided in the constructor.
"""

def __init__(
Expand Down

0 comments on commit 1bb1de2

Please sign in to comment.