ailiaGetBlobCount method

int ailiaGetBlobCount(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> blob_count
)

Gets the amount of internal data (blob) during inference.

Parameters:

  • net: A network instance pointer
  • blob_count: Storage location of the number of blobs

Returns:

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

This API can be call after call ailiaOpenStreamXXX(). In addition, this api returuns number of sum of inputs and outputs when after call ailiaOpenStreamXXX. And, when call ailiaOpenWeightXXX, enumerate and optimzie intermediate blobs. So, this api may return more count after call ailiaOpenWeightXXX.

Implementation

int ailiaGetBlobCount(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> blob_count,
) {
  return _ailiaGetBlobCount(
    net,
    blob_count,
  );
}