-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a
stex.Elementwise
layer that allows simpler layer specificatio…
…n by passing only scalar-valued `nngp_fn`, computing `ntk_fn` via autodiff (derived by Lechao Xiao xlc@google.com @SiuMath). Apart from automatic NTK, also makes `nngp_fn` more accessible to users, who won't need to worry about our kernel layout and other technicalities, and only specify a scalar-valued function. PiperOrigin-RevId: 397428785
- Loading branch information
Showing
2 changed files
with
253 additions
and
0 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