loadModelWithWeightsAndEvaluate

fun loadModelWithWeightsAndEvaluate()

This examples demonstrates the inference concept:

  • Weights are loaded from .h5 file, configuration is loaded from .json file.

  • Model is evaluated after loading to obtain accuracy value.

  • No additional training.

  • No new layers are added.

NOTE: Model and weights are resources in examples module.