Skip to content

[TorchToLinalg] Refactor replication pad 1d/2d/3d to share common implementation #4282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vinitdeodhar
Copy link
Contributor

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

@vinitdeodhar vinitdeodhar marked this pull request as ready for review July 25, 2025 14:17
@vinitdeodhar
Copy link
Contributor Author

@sahas3 , @zjgarvey, @vivekkhandelwal1 can you please review this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant