loadModelLayersFromDefaultConfiguration

fun loadModelLayersFromDefaultConfiguration(modelDirectory: File, inputShape: IntArray? = null): Pair<Input, List<Layer>>

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

Return

Pair of .

Parameters

modelDirectory

Directory, containing file 'modelConfig.json'.

Throws

If 'modelConfig.json' file is not found.