ailiaGetBlobNameLengthByIndex method
- Pointer<
AILIANetwork> net, - int blob_idx,
- Pointer<
UnsignedInt> buffer_size
Gets the size of the buffer needed for output of the name of the internal data (blob).
Parameters:
net: A network instance pointerblob_idx: The index of the blob (0 to ailiaGetBlobCount() -1)buffer_size: The size of the buffer needed for output of the blob name (including the null terminator)
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 ailiaGetBlobNameLengthByIndex(
ffi.Pointer<AILIANetwork> net,
int blob_idx,
ffi.Pointer<ffi.UnsignedInt> buffer_size,
) {
return _ailiaGetBlobNameLengthByIndex(
net,
blob_idx,
buffer_size,
);
}