mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +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 |
||
|---|---|---|
| .. | ||
| migrate_gradual_types | ||
| shape_inference | ||
| unification | ||
| __init__.py | ||
| _backward_state.py | ||
| _config.py | ||
| _constant_symnode.py | ||
| _dynamism.py | ||
| accelerator_partitioner.py | ||
| const_fold.py | ||
| debug.py | ||
| graph_gradual_typechecker.py | ||
| merge_matmul.py | ||
| meta_tracer.py | ||
| normalize.py | ||
| optimization.py | ||
| partitioner_utils.py | ||
| proxy_tensor.py | ||
| recording.py | ||
| refinement_types.py | ||
| rewriter.py | ||
| schema_type_annotation.py | ||
| sym_node.py | ||
| symbolic_shapes.py | ||
| unify_refinements.py | ||
| validator.py | ||