ailiaVoiceOpenModelFileA method
~japanese @brief モデルを指定します。(MBSC) @param net ネットワークオブジェクトポインタ @param encoder_path onnxファイルのパス名(MBSC) @param decoder1_path onnxファイルのパス名(MBSC) @param decoder2_path onnxファイルのパス名(MBSC) @param wave_path onnxファイルのパス名(MBSC) @param ssl_path onnxファイルのパス名(MBSC) @param model_type AILIA_VOICE_MODEL_TYPE_* @param cleaner_type AILIA_VOICE_CLEANER_TYPE_* @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Set models into a network instance. @param net A network instance pointer @param encoder The path name to the onnx file (MBSC) @param decoder1 The path name to the onnx file (MBSC) @param decoder2 The path name to the onnx file (MBSC) @param wave The path name to the onnx file (MBSC) @param ssl The path name to the onnx file (MBSC) @param model_type AILIA_VOICE_MODEL_TYPE_* @param cleaner_type AILIA_VOICE_CLEANER_TYPE_* @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaVoiceOpenModelFileA(
ffi.Pointer<AILIAVoice> net,
ffi.Pointer<ffi.Char> encoder,
ffi.Pointer<ffi.Char> decoder1,
ffi.Pointer<ffi.Char> decoder2,
ffi.Pointer<ffi.Char> wave,
ffi.Pointer<ffi.Char> ssl,
int model_type,
int cleaner_type,
) {
return _ailiaVoiceOpenModelFileA(
net,
encoder,
decoder1,
decoder2,
wave,
ssl,
model_type,
cleaner_type,
);
}