mlx_rs::transforms::compile

Function compile

Source
pub fn compile<F, A, O, E>(
    f: F,
    shapeless: impl Into<Option<bool>>,
) -> impl for<'a> FnMut(F::Args<'a>) -> Result<O, Exception>
where F: Compile<A, O, E> + 'static + Copy,
Expand description

Returns a compiled function that produces the same output as f.

Please refer to the swift binding documentation for more information.