mlx_rs::module

Function update_parameters

Source
pub fn update_parameters<M, I, Q>(module: &mut M, parameters: I)
where M: ModuleParameters + ?Sized, I: IntoIterator<Item = (Q, Array)>, Q: Hash + Eq, Rc<str>: Borrow<Q>,
Expand description

Update the module parameters from an iterator of (key, value) tuples.