ailiaFindBlobNameByIndex method
Searches by index for the name of the internal data (blob) during inference and returns it.
Parameters:
net: A network instance pointerbuffer: The output destination buffer for the blob namebuffer_size: The size of the buffer (including the null terminator)blob_idx: The index of the blob to search for
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, when call this API before call ailiaOpenWeightXXX, can only find inputs and outputs blobs. If you want find intermediate blobs, please call ailiaOpenWeightXXX before.
Implementation
int ailiaFindBlobNameByIndex(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.Char> buffer,
int buffer_size,
int blob_idx,
) {
return _ailiaFindBlobNameByIndex(
net,
buffer,
buffer_size,
blob_idx,
);
}