Skip to content

Commit c8cdedf

Browse files
authored
fix_loader_state (pytorch#1457)
1 parent d155220 commit c8cdedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchdata/nodes/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def next(self):
123123
self._cached_state_dict = None
124124
else:
125125
item = next(self.root)
126-
self._num_yielded += 1
126+
self._num_yielded += 1
127127
return item
128128

129129
def get_state(self) -> Dict[str, Any]:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy