mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
There are some changes: 1. Use keywords for arguments if possible. 2. `__exit__ ` of `device_index` is changed to return None. Pull Request resolved: https://github.com/pytorch/pytorch/pull/152394 Approved by: https://github.com/XuehaiPan, https://github.com/guangyey, https://github.com/ezyang Co-authored-by: Xuehai Pan <XuehaiPan@outlook.com> Co-authored-by: Yu, Guangye <106960996+guangyey@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _utils.py | ||