Package examples.experimental.batchnorm

Functions

getJSONConfigFile
Link copied to clipboard
fun getJSONConfigFile(): File

Returns JSON file with model configuration, saved from Keras 2.x.

getWeightsFile
Link copied to clipboard
fun getWeightsFile(): HdfFile

Returns .h5 file with model weights, saved from Keras 2.x.

main
Link copied to clipboard
fun main()

This example shows how to do image classification from scratch using model with BatchNorm layer, without leveraging pre-trained weights or a pre-made model. We demonstrate the workflow on the FashionMnist classification dataset.

fun main()

This examples demonstrates the inference concept: