ailiaSetInputBlobData method
Provides the specified blob with the input data.
Parameters:
net: A network instance pointersrc: The inference data is stored as numeric type data in the order of X, Y, Z, and W.src_size: The number of bytes of the inference datablob_idx: The index of the blob for input
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
This function is used to specify the input on networks with multiple inputs. If something other than a blob in the input layer is specified for blob_idx, the function returns AILIA_STATUS_INVALID_ARGUMENT . This API can be call after call ailiaOpenWeighXXX().
Implementation
int ailiaSetInputBlobData(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.Void> src,
int src_size,
int blob_idx,
) {
return _ailiaSetInputBlobData(
net,
src,
src_size,
blob_idx,
);
}