Skip to main content

load_speech_model

Function load_speech_model 

Source
pub fn load_speech_model<B: Backend>(
    source: &dyn ModelSource,
    device: &Device<B>,
) -> Result<Box<dyn SpeechToTextModel<B>>>
Expand description

Loads a speech model by metadata.architecture — the ASR counterpart of the text registry’s loader map.