ailiaSummary method

int ailiaSummary(
  1. Pointer<AILIANetwork> net,
  2. Pointer<Char> buffer,
  3. int buffer_size
)

Shows the name and shape of each blob.

Parameters:

  • net: A network instance pointer
  • buffer: The output destination of the summary
  • buffer_size: The size of the output buffer (including the null terminator). Set the value obtained by ailiaGetSummaryLength() .

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 ailiaSummary(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.Char> buffer,
  int buffer_size,
) {
  return _ailiaSummary(
    net,
    buffer,
    buffer_size,
  );
}