sherpa_rs_sys

Function SherpaOnnxOnlineStreamReset

Source
pub unsafe extern "C" fn SherpaOnnxOnlineStreamReset(
    recognizer: *const SherpaOnnxOnlineRecognizer,
    stream: *const SherpaOnnxOnlineStream,
)
Expand description

SherpaOnnxOnlineStreamReset an OnlineStream , which clears the neural network model state and the state for decoding.

@param recognizer A pointer returned by SherpaOnnxCreateOnlineRecognizer(). @param stream A pointer returned by SherpaOnnxCreateOnlineStream