ailiaOpenStreamFileA method

int ailiaOpenStreamFileA(
  1. Pointer<AILIANetwork> net,
  2. Pointer<Char> path
)

Initializes the network instance. (Read from file)

Parameters:

  • net: A network instance pointer
  • path: The path name to the prototxt file (MBSC or UTF16)

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

This function reads the network instance from a file and initializes it.

Implementation

int ailiaOpenStreamFileA(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.Char> path,
) {
  return _ailiaOpenStreamFileA(
    net,
    path,
  );
}