loadWeights
open fun loadWeights(modelDirectory: File, loadOptimizerState: Boolean = false)
Content copied to clipboard
Loads variable data from .txt files.
Parameters
modelDirectory
Path to directory with TensorFlow graph and variable data.
loadOptimizerState
Loads optimizer internal variables data, if true.
Throws
If file with weights is not found.