PostprocessHook

Type Alias PostprocessHook 

Source
pub type PostprocessHook = Arc<dyn Fn(&Array1<f32>) -> InferenceResult<Array1<f32>> + Send + Sync>;
Expand description

Postprocessing hook that transforms output after model forward pass

Aliased Typeยง

pub struct PostprocessHook { /* private fields */ }