Last active
January 4, 2020 19:47
-
-
Save dan-zheng/0e28c41dd0734fa6d3644e6ed0a9c16f to your computer and use it in GitHub Desktop.
Revisions
-
dan-zheng revised this gist
Nov 26, 2019 . No changes.There are no files selected for viewing
-
dan-zheng revised this gist
Nov 26, 2019 . No changes.There are no files selected for viewing
-
dan-zheng revised this gist
Oct 25, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
LoadingSorry, something went wrong. Reload?Sorry, we cannot display this file.Sorry, this file is invalid so it cannot be displayed. -
dan-zheng created this gist
Oct 25, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ Retroactive derivative registration: register derivatives for functions in other modules. Previously: * If module A defines `func foo`, then its derivatives must be in the same module. With retroactive derivative registration: * If module A defines `func foo`; * And if module B imports module A and defines `@differentiating(foo) func derivativeFoo`: * Then module C can import modules A and B and differentiate `func foo` (e.g. via differentiation APIs).