ailiaOpenWeightFileA method
- Pointer<
AILIANetwork> net, - Pointer<
Char> path
Reads weights into a network instance. (Read from file)
Parameters:
net: A network instance pointerpath: The path name to the protobuf/onnx file (MBSC or UTF16)
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
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,
);
}