/// <summary> /// Set beam width value used by the model. /// </summary> /// <param name="aBeamWidth">The beam width used by the decoder. A larger beam width value generates better results at the cost of decoding time.</param> /// <exception cref="ArgumentException">Thrown on failure.</exception> public unsafe void SetModelBeamWidth(uint aBeamWidth) { var resultCode = NativeImp.DS_SetModelBeamWidth(_modelStatePP, aBeamWidth); EvaluateResultCode(resultCode); }