pytorch/torch/utils/data
Xuehai Pan 45411d1fc9 Use absolute path path.resolve() -> path.absolute() (#129409)
Changes:

1. Always explicit `.absolute()`: `Path(__file__)` -> `Path(__file__).absolute()`
2. Replace `path.resolve()` with `path.absolute()` if the code is resolving the PyTorch repo root directory.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129409
Approved by: https://github.com/albanD
2025-01-03 20:03:40 +00:00
..
_utils [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
datapipes Use absolute path path.resolve() -> path.absolute() (#129409) 2025-01-03 20:03:40 +00:00
__init__.py
backward_compatibility.py
dataframes_pipes.ipynb
dataloader.py Dataloader distribute tasks to workers when in_order is False (#142324) 2025-01-03 12:57:04 +00:00
dataset.py
distributed.py
graph.py Remove some unused type ignores (round 1) (#142325) 2024-12-09 18:23:46 +00:00
graph_settings.py Remove some unused type ignores (round 1) (#142325) 2024-12-09 18:23:46 +00:00
sampler.py
standard_pipes.ipynb
typing.ipynb [BE][CI] bump ruff to 0.8.4 (#143753) 2024-12-24 12:24:10 +00:00