forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] jacrev and jacfwd : support non-tensor args again (pytorch#97746)
Fixes pytorch#97636 The code to check if argument tensor are complex assumed that all arguments are tensor (which is not the case) which lead to the error. Pull Request resolved: pytorch#97746 Approved by: https://github.com/zou3519
- Loading branch information
1 parent
1c83888
commit 2b369eb
Showing
2 changed files
with
11 additions
and
1 deletion.
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