freeze

fun GraphTrainableModel.freeze()

Freezes weights in all layers in this model, so they won't be changed during training.

See also