ailiaFindBlobIndexByName method
- Pointer<
AILIANetwork> net, - Pointer<
UnsignedInt> blob_idx, - Pointer<
Char> name
Searches by name for the index of the internal data (blob) during inference and returns it.
Parameters:
net: A network instance pointerblob_idx: The index of the blob (0 to ailiaGetBlobCount() -1)name: The name 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 ailiaFindBlobIndexByName(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.UnsignedInt> blob_idx,
ffi.Pointer<ffi.Char> name,
) {
return _ailiaFindBlobIndexByName(
net,
blob_idx,
name,
);
}