Skip to main content

CustomOpFn

Type Alias CustomOpFn 

Source
pub type CustomOpFn = Box<dyn Fn(&[&[f32]]) -> Vec<f32> + Send + Sync>;
Expand description

Boxed executor: takes (read-only inputs) โ†’ produces an owned output. Vec<Vec<f32>> for now since that matches the rlx_runtime CompiledGraph::run signature; revisit when the runtime moves to Buffer (plan #59) end-to-end.

Aliased Typeยง

pub struct CustomOpFn(/* private fields */);