pub fn apply_updates<B: Backend, T: Float, P: Tree<B>>(
params: &P,
updates: &P,
) -> PExpand description
params + updates for each leaf (optax.apply_updates).
ยงPanics
Panics if the pytrees differ in structure or a leaf is not of type T.