Skip to content

Commit

Permalink
add SamplerWrapper to init (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkho authored Nov 13, 2024
1 parent 7fa74e4 commit db03884
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torchdata/nodes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

from .adapters import IterableWrapper, MapStyleWrapper
from .adapters import IterableWrapper, MapStyleWrapper, SamplerWrapper
from .base_node import BaseNode, T
from .batch import Batcher
from .loader import Loader
Expand All @@ -25,6 +25,7 @@
"ParallelMapper",
"PinMemory",
"Prefetcher",
"SamplerWrapper",
"Stateful",
"T",
]
Expand Down

0 comments on commit db03884

Please sign in to comment.