ailiaGetSummaryLength method

int ailiaGetSummaryLength(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> buffer_size
)

Gets the size of the buffer needed for the network summary.

Parameters:

  • net: A network instance pointer
  • buffer_size: The storage location of the buffer size (including the null terminator)

Returns:

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

This API can be call after call ailiaOpenWeighXXX().

Implementation

int ailiaGetSummaryLength(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> buffer_size,
) {
  return _ailiaGetSummaryLength(
    net,
    buffer_size,
  );
}