ailiaGetBlobData method

int ailiaGetBlobData(
  1. Pointer<AILIANetwork> net,
  2. Pointer<Void> dest,
  3. int dest_size,
  4. int blob_idx
)

Gets the internal data (blob) during inference.

Parameters:

  • net: A network instance pointer
  • dest: The result is stored in the inference result destination buffer as numeric type data in the order of X, Y, Z, and W.
  • dest_size: The number of bytes for the inference result destination buffer
  • 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.

If ailiaPredict() or ailiaUpdate() is not run at all, the function returns AILIA_STATUS_INVALID_STATE .

Implementation

int ailiaGetBlobData(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.Void> dest,
  int dest_size,
  int blob_idx,
) {
  return _ailiaGetBlobData(
    net,
    dest,
    dest_size,
    blob_idx,
  );
}