loadModelLayersFromDefaultConfiguration

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

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

Return

List of layers. All connections between the layers are established and form an acyclic directed graph.

Parameters

modelDirectory

Directory, containing file 'modelConfig.json'.

Throws

If 'modelConfig.json' file is not found.