Skip to content
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

Added im2col batch rule and enabled vmap for nn.functional.unfold op #262

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

vfdev-5
Copy link
Contributor

@vfdev-5 vfdev-5 commented Nov 14, 2021

Description:

  • Added im2col batch rule and enabled vmap for nn.functional.unfold op
  • Updated tests

Using EXISTING_BDIM macro to put bdim into 0 as im2col expects dim=0 to be the batch dim

Related to #240

Additionally moved OP_DECOMPOSE(nll_loss*) into alphabetical order.

Description:
- Added im2col batch rule and enabled vmap for nn.functional.unfold op
- Updated tests

Using EXISTING_BDIM macro to put bdim into 0 as im2col expects dim=0 to be batch dim

Related to pytorch#240
@Chillee Chillee merged commit 545fdc4 into pytorch:main Nov 15, 2021
@vfdev-5 vfdev-5 deleted the add-unfold-br branch November 15, 2021 06:58
zou3519 pushed a commit to zou3519/pytorch that referenced this pull request Jul 20, 2022
…l.unfold op (pytorch/functorch#262)

Description:
- Added im2col batch rule and enabled vmap for nn.functional.unfold op
- Updated tests

Using EXISTING_BDIM macro to put bdim into 0 as im2col expects dim=0 to be batch dim

Related to pytorch/functorch#240
bigfootjon pushed a commit to pytorch/pytorch that referenced this pull request Jul 21, 2022
…l.unfold op (pytorch/functorch#262)

Description:
- Added im2col batch rule and enabled vmap for nn.functional.unfold op
- Updated tests

Using EXISTING_BDIM macro to put bdim into 0 as im2col expects dim=0 to be batch dim

Related to pytorch/functorch#240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants