Exemplo n.º 1
0
 /// <summary>
 /// Destroy a streaming state without decoding the computed logits.
 /// This can be used if you no longer need the result of an ongoing streaming
 /// inference and don't want to perform a costly decode operation.
 /// </summary>
 public unsafe void FreeStream(DeepSpeechStream stream)
 {
     NativeImp.DS_FreeStream(stream.GetNativePointer());
     stream.Dispose();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Destroy a streaming state without decoding the computed logits.
 /// This can be used if you no longer need the result of an ongoing streaming
 /// inference and don't want to perform a costly decode operation.
 /// </summary>
 public unsafe void FreeStream()
 {
     NativeImp.DS_FreeStream(ref _streamingStatePP);
 }