-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added grid_sample backward batch rule
Description: - Added grid_sample backward batch rule: CPU and CUDA - Updated tests Notes: I had to expand on dim 0 in most of the cases and could not use tricks like in forward pass when batch dim is merged either with channel or H_out due to wrong grid grads in these cases
- Loading branch information
Showing
4 changed files
with
2,150 additions
and
1,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.