Skip to content

Commit e5221b9

Browse files
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 #4254
1 parent ac4657a commit e5221b9

File tree

2 files changed

+138
-299
lines changed

2 files changed

+138
-299
lines changed

0 commit comments

Comments
 (0)