mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Slice knows how to handle unbacked start, we do not need to offset start before calling slice, we can leave it for slice. The only edge case is when start<0 and start+length ==0 in that case slice and narrow would deviate, for that case we shall pass dim_size instead of start+length Pull Request resolved: https://github.com/pytorch/pytorch/pull/166361 Approved by: https://github.com/aorenste |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| functions.py | ||
| interp.py | ||
| numbers.py | ||
| printers.py | ||
| reference.py | ||
| singleton_int.py | ||
| solve.py | ||
| symbol.py | ||
| value_ranges.py | ||