Freeze and unfreeze weights — freeze_weights

Freeze weights in a model or layer so that they are no longer trainable.