Companion
object Companion
Content copied to clipboard
Functions
loadDefaultModelConfiguration
Link copied to clipboard
fun loadDefaultModelConfiguration(modelDirectory: File, inputShape: IntArray? = null): Sequential
Content copied to clipboard
Loads a Sequential model from json file with name 'modelConfig.json' with model configuration located in modelDirectory.
loadModelConfiguration
Link copied to clipboard
fun loadModelConfiguration(configuration: File, inputShape: IntArray? = null): Sequential
Content copied to clipboard
Loads a Sequential model from json file with model configuration.
loadModelLayersFromConfiguration
Link copied to clipboard
fun loadModelLayersFromConfiguration(configuration: File, inputShape: IntArray? = null): Pair<Input, MutableList<Layer>>
Content copied to clipboard
Loads a Sequential model layers from json file with model configuration.
loadModelLayersFromDefaultConfiguration
Link copied to clipboard
fun loadModelLayersFromDefaultConfiguration(modelDirectory: File, inputShape: IntArray? = null): Pair<Input, MutableList<Layer>>
Content copied to clipboard
Loads a Sequential model layers from json file with name 'modelConfig.json' with model configuration located in modelDirectory.
of
Link copied to clipboard
Creates the Sequential model.
Creates the Functional model.