pytorch/torch/utils/data
Yuanyuan Chen 3cda34ebde [2/N] Apply ruff UP035 check in torch files (#164054)
This is the result of applying the ruff `UP035` check.
`Callable` is imported from `collections.abc` instead of `typing`.
`TypeAlias` is also imported from `typing`.
This PR is the follow-up of #163947.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164054
Approved by: https://github.com/ezyang, https://github.com/Skylion007
2025-09-29 03:35:32 +00:00
..
_utils [2/N] Apply ruff UP035 check in torch files (#164054) 2025-09-29 03:35:32 +00:00
datapipes [2/N] Apply ruff UP035 check in torch files (#164054) 2025-09-29 03:35:32 +00:00
__init__.py
backward_compatibility.py
dataframes_pipes.ipynb Enable ruff check for torch/utils/data/*.ipynb (#148654) 2025-05-14 06:21:47 +00:00
dataloader.py [2/N] Apply ruff UP035 check in torch files (#164054) 2025-09-29 03:35:32 +00:00
dataset.py [1/N] Remove 'type: ignore' suppressions (#163468) 2025-09-23 03:53:11 +00:00
distributed.py
graph_settings.py
graph.py
sampler.py Remove data_source argument from Sampler (#163134) 2025-09-21 05:44:41 +00:00
standard_pipes.ipynb [BE][16/16] fix typos in torch/ (torch/utils/) (#156606) 2025-07-02 22:55:29 +00:00
typing.ipynb [BE][16/16] fix typos in torch/ (torch/utils/) (#156606) 2025-07-02 22:55:29 +00:00