Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the input is contiguous, short-circuit infer_size_dv in reshape (p…
…ytorch#95216) The main improvement is that this avoids guards from infer_size_dv, although this also counts as a minor perf improvement too. Signed-off-by: Edward Z. Yang <[email protected]> Pull Request resolved: pytorch#95216 Approved by: https://github.com/albanD
- Loading branch information