mlx.optimizers.Optimizer.update#

Optimizer.update(model: Module, gradients: dict)#

Apply the gradients to the parameters of the model and update the model with the new parameters.

Parameters: