ailiaOpenStreamMem method
- Pointer<
AILIANetwork> net, - Pointer<
Void> buf, - int buf_size
~japanese @brief ネットワークオブジェクトを初期化します。(メモリから読み込み) @param net ネットワークオブジェクトポインタ @param buf prototxtファイルのデータへのポインタ @param buf_size prototxtファイルのデータサイズ @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details メモリから読み込み、ネットワークオブジェクトを初期化します。
~english @brief Initializes the network instance. (Read from memory) @param net A network instance pointer @param buf A pointer to the data in the prototxt file @param buf_size The data size of the prototxt file @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details This function reads the network instance from memory and initializes it.
Implementation
int ailiaOpenStreamMem(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.Void> buf,
int buf_size,
) {
return _ailiaOpenStreamMem(
net,
buf,
buf_size,
);
}