예제 #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();
 }
예제 #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);
 }