ailiaOpenStreamMem method
- Pointer<
AILIANetwork> net, - Pointer<
Void> buf, - int buf_size
Initializes the network instance. (Read from memory)
Parameters:
net: A network instance pointerbuf: A pointer to the data in the prototxt filebuf_size: The data size of the prototxt file
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
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,
);
}