Commit e5221b9
authored
[TorchToLinalg] Refactor replication pad 1d/2d/3d to share common implementation (#4282)
The change refactors implementations of ReplicationPad1d/2d/3d to share
common utility functions. The newly added utility function
replicationPad takes numDims as input and does ReplicationPad for
1d/2d/3d
Fixes #42541 parent ac4657a commit e5221b9
File tree
2 files changed
+138
-299
lines changed- lib/Conversion/TorchToLinalg
- test/Conversion/TorchToLinalg
2 files changed
+138
-299
lines changed
0 commit comments