Description Usage Arguments Value
This function sets the trainable
attribute of a subset of the layers
in a model to TRUE
or FALSE
.
1 | set_trainability(.model, layer_names = NULL, trainability = FALSE)
|
layer_names |
(character vector) Names of the layers to set their |
trainability |
(logical vector) New values for the |
model |
( |
changes the trainable
attribute in the selected layers in the model, in place.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.