MCPcopy Create free account
hub / github.com/pytorch/pytorch / _IterableDatasetStopIteration

Class _IterableDatasetStopIteration

torch/utils/data/_utils/worker.py:120–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118r"""Dummy class used to signal the end of an IterableDataset"""
119@dataclass(frozen=True)
120class _IterableDatasetStopIteration:
121 worker_id: int
122
123r"""Dummy class used to resume the fetching when worker reuse is enabled"""
124@dataclass(frozen=True)

Callers 1

_worker_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…