Add pad and narrow to torch/csrc/stable/ops.h (#159328)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/159328
Approved by: https://github.com/janeyx99
ghstack dependencies: #159507
This commit is contained in:
Mikayla Gawarecki
2025-08-12 17:17:47 +00:00
committed by PyTorch MergeBot
parent 655137b678
commit 4d419a7461
6 changed files with 122 additions and 0 deletions

View File

@ -183,4 +183,6 @@ inductor_fallback_ops: dict[str, dict[str, list[str]]] = {
# The same BC rules apply as inductor_fallback_ops.
aten_shimified_ops: dict[str, dict[str, list[str]]] = {
"aten.fill_.Scalar": {},
"aten.pad.default": {},
"aten.narrow.default": {},
}