ailiaOpenWeightFileA method
- Pointer<
AILIANetwork> net, - Pointer<
Char> path
~japanese @brief ネットワークオブジェクトに重み係数を読み込みます。(ファイルから読み込み) @param net ネットワークオブジェクトポインタ @param path protobuf/onnxファイルのパス名(MBSC or UTF16) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details ファイルからネットワークオブジェクトに重み係数を読み込みます。
~english @brief Reads weights into a network instance. (Read from file) @param net A network instance pointer @param path The path name to the protobuf/onnx file (MBSC or UTF16) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details This function reads weights into the network instance from a file.
Implementation
int ailiaOpenWeightFileA(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.Char> path,
) {
return _ailiaOpenWeightFileA(
net,
path,
);
}