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.
Pass IValue from c10 dispatcher to caffe2 operator (pytorch#16065)
Summary: Pull Request resolved: pytorch#16065 Before, we registered the caffe2 kernel with the c10 dispatcher using plain C types. Now, we pass in IValues, which avoids the unwrapping inbetween. Reviewed By: ezyang Differential Revision: D13689036 fbshipit-source-id: b976a2c46a5a541f6a926b3df255e8a535e32420
- Loading branch information
1 parent
c904416
commit e8b872a
Showing
1 changed file
with
9 additions
and
13 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