-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce ParametrizedLayer and TrainableLayer interfaces (#345)
* Add ParametrizedLayer and TrainableLayer interfaces * Simplify freezing model layers * Do not try to unfreeze ActivationLayer since it is not trainable * Keep variable information in the layers * Use only trainable variable regularizers for computing loss * Remove KGraph argument from Layer::build * Move Layer#weights to extension field Co-authored-by: Veniamin Viflyantsev <knok16@gmail.com>
- Loading branch information
1 parent
d21ea93
commit 30c45ae
Showing
107 changed files
with
524 additions
and
775 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
Oops, something went wrong.