ailiaGetInputBlobCount method

int ailiaGetInputBlobCount(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> input_blob_count
)

Get the number of input data blobs.

Parameters:

  • net: A network instance pointer
  • input_blob_count: Storage location of the number of input 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 inputs when after call ailiaOpenStreamXXX. And, when call ailiaOpenWeightXXX, enumerate and optimzie initializer with input blobs. So, this api may return more count after call ailiaOpenWeightXXX.

Implementation

int ailiaGetInputBlobCount(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> input_blob_count,
) {
  return _ailiaGetInputBlobCount(
    net,
    input_blob_count,
  );
}