Update Params Method
Functions
update_params(model, learning_rate)
Update the parameters (weights and biases) of all layers in the model.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model |
Sequential
|
The neural network model. |
required |
learning_rate |
float
|
The learning rate for gradient descent. |
required |
Note
This function applies the computed gradients to update the model's parameters.