ailiaGetBlobDim method

int ailiaGetBlobDim(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> dim,
  3. int blob_idx
)

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

Parameters:

  • net: A network instance pointer
  • dim: The storage location of the dimension
  • blob_idx: The index of the blob (0 to ailiaGetBlobCount() -1)

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 ailiaGetBlobDim(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> dim,
  int blob_idx,
) {
  return _ailiaGetBlobDim(
    net,
    dim,
    blob_idx,
  );
}