Companion

object Companion

Functions

loadDefaultModelConfiguration
Link copied to clipboard
fun loadDefaultModelConfiguration(modelDirectory: File): Sequential

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): Sequential

Loads a Sequential model from json file with model configuration.

loadModelLayersFromConfiguration
Link copied to clipboard
fun loadModelLayersFromConfiguration(configuration: File): Pair<Input, MutableList<Layer>>

Loads a Sequential model layers from json file with model configuration.

loadModelLayersFromDefaultConfiguration
Link copied to clipboard
fun loadModelLayersFromDefaultConfiguration(modelDirectory: File): Pair<Input, MutableList<Layer>>

Loads a Sequential model layers from json file with name 'modelConfig.json' with model configuration located in modelDirectory.

of
Link copied to clipboard
fun of(vararg layers: Layer): Sequential

Creates the Sequential model.

fun of(layers: List<Layer>): Sequential

Creates the Functional model.