forked from pytorch/FBGEMM
-
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.
add new sparse adagrad interface takes weight_decay at call time not …
…at codegen time (pytorch#432) Summary: Pull Request resolved: pytorch#432 To support usages like D24040476 . Will have follow-up diffs to use the new interface (need to split into multiple diffs to take care of a small time diff btw fbgemm and pytorch/caffe2 github sync) * D24195799 (this one) : add a new interface to fbgemm with a temp name with New suffix * D24196753 : Caffe2 calls the new interface with temp name * D24197553 : change the old names to use the new interface * D24197694 : Caffe2 calls the old name with new interface * D24197727 : remove the temp name It's like swap operation that needs a temp variable (sort of) Reviewed By: dskhudia Differential Revision: D24195799 fbshipit-source-id: f89a23291ffa2c241618a01cb7ab445484bd4e4f
- Loading branch information
1 parent
fe91640
commit 974d2b4
Showing
5 changed files
with
146 additions
and
18 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
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
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