-
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 InitializerOperation class to represent variable initialization For some initializers, like Zeros, initializer operations are named differently from what is expected. Because of this, such operations could not be found by name. Keeping initializer in the KVariable allows to access it directly. * Cleanup saving and loading variable values * Move getVariablesAndTensors function down to the GraphTrainableModel * Do not check if variable is related to the frozen layers for pure TensorFlowInferenceModel It won't work as the model does not have any layers. * Reuse loadVariablesFromTxt function * Unify loading variable data from txt files and model copying * Find a corresponding KVariable object to assign variable value in GraphTrainableModel
- Loading branch information
1 parent
30c45ae
commit a0727b2
Showing
9 changed files
with
174 additions
and
200 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
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.