ailiaCopyBlobData method
- Pointer<
AILIANetwork> dst_net, - int dst_blob_idx,
- Pointer<
AILIANetwork> src_net, - int src_blob_idx
Perform copies between blobs that specified.
Parameters:
dst_net: The network object pointer that contains destination blobdst_blob_idx: The index of destination blobsrc_net: The network object pointer that contains source blobsrc_blob_idx: The index of source blob
Returns:
In case of success, AILIA_STATUS_SUCCESS , and otherwise the coresponding error code.
Perform copy blobs between specified network. It accepts copy over different network. The src_blob_index must be specify blob index that inputs of src_net, and the dst_blob_index mut be specify blob index that outputs of dst_net. If specify index of other blob for dst_blob_idx , this function returns AILIA_STATUS_INVALID_ARGUMENT . This API can be call after call ailiaOpenWeighXXX().
Implementation
int ailiaCopyBlobData(
ffi.Pointer<AILIANetwork> dst_net,
int dst_blob_idx,
ffi.Pointer<AILIANetwork> src_net,
int src_blob_idx,
) {
return _ailiaCopyBlobData(
dst_net,
dst_blob_idx,
src_net,
src_blob_idx,
);
}