Description Usage Arguments Value
This function sets the weights of a layer.
1 | set_layer_weights(model, layer, weights, freeze)
|
model |
A |
layer |
The layer name or index. |
weights |
A matrix or list of matrices. The weights.
For example, the output of |
freeze |
A logical. Toggles whether or not to freeze the weights. If frozen, the weights will not update during re-training. |
Null. This function updates the model in place.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.