Skip to main content

predict_into

Function predict_into 

Source
pub fn predict_into(
    mlp: &Mlp,
    input: &[f32],
    scratch: &mut Scratch,
    out: &mut [f32],
) -> Result<()>
Expand description

Shape-safe, non-allocating inference.

Thin wrapper around Mlp::predict_into.