loadWeightsForFrozenLayers

fun GraphTrainableModel.loadWeightsForFrozenLayers(hdfFile: HdfFile)

Loads weights from hdf5 file created in Keras TensorFlow framework for non-trainable (or frozen) layers only.

NOTE: Weights for trainable layers will not be loaded and will be initialized via default initializers.

Parameters

hdfFile

File in hdf5 file format containing weights of Sequential model.