Fix full_like decomposition to preserve strides (#144765)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/144765
Approved by: https://github.com/amjames, https://github.com/jansel
This commit is contained in:
Isuru Fernando
2025-07-01 15:07:32 +00:00
committed by PyTorch MergeBot
parent 6401d1d53d
commit 01b0f09931
11 changed files with 101 additions and 58 deletions

View File

@ -346,6 +346,7 @@ def _core_aten_decompositions_post_autograd() -> dict[
aten.floor_divide,
aten.frac,
aten.frac_,
aten.full_like,
aten._fused_moving_avg_obs_fq_helper,
aten.gelu_,
aten.gelu_backward,