ailiaGetBlobDim method
- Pointer<
AILIANetwork> net, - Pointer<
UnsignedInt> dim, - int blob_idx
~japanese @brief 推論時の内部データ(Blob)の次元を取得します。 @param net ネットワークオブジェクトポインタ @param dim blobの次元の格納先 @param blob_idx blobのインデックス (0~ ailiaGetBlobCount() -1) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、それ以外のエラーの場合はエラーコードを返す。 @details このAPIはailiaOpenWeighXXX呼び出し後より利用可能です。
~english @brief Gets the dimension of the internal data (blob) during inference. @param net A network instance pointer @param dim The storage location of the dimension @param blob_idx The index of the blob (0 to ailiaGetBlobCount() -1) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details This API can be call after call ailiaOpenWeighXXX().
Implementation
int ailiaGetBlobDim(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.UnsignedInt> dim,
int blob_idx,
) {
return _ailiaGetBlobDim(
net,
dim,
blob_idx,
);
}