ailiaGetBlobDataType method

int ailiaGetBlobDataType(
  1. Pointer<AILIANetwork> net,
  2. Pointer<Int> type,
  3. int blob_idx
)

Get the type of Blob.

Parameters:

  • net: A network instance pointer
  • blob_idx: The index of the blob (0 to ailiaGetBlobCount() -1)
  • type: The type of blob is stored to it. Values are defined as AILIA_DATATYPE_XXX.

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 ailiaGetBlobDataType(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.Int> type,
  int blob_idx,
) {
  return _ailiaGetBlobDataType(
    net,
    type,
    blob_idx,
  );
}