set_state_tree | R Documentation |
This method takes a dictionary (named list) of nested variable values, which
represents the state tree of the model, and assigns them to the
corresponding variables of the model. The keys (list names) represent the
variable names (e.g., 'trainable_variables'
, 'optimizer_variables'
),
and the values are nested dictionaries containing the variable
paths and their corresponding values.
set_state_tree(object, state_tree)
object |
A keras model. |
state_tree |
A dictionary representing the state tree of the model. The keys are the variable names, and the values are nested dictionaries representing the variable paths and their values. |
Other model functions:
get_config()
get_layer()
get_state_tree()
keras_model()
keras_model_sequential()
pop_layer()
summary.keras.src.models.model.Model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.