ailiaGetBlobShapeND method
- Pointer<
AILIANetwork> net, - Pointer<
UnsignedInt> shape, - int dim,
- int blob_idx
~japanese @brief 推論時の内部データ(Blob)の形状を取得します。 @param net ネットワークオブジェクトポインタ @param shape blobの各次元の大きさの格納先配列(dim-1, dim-2, ... ,1, 0順で格納) @param dim shapeの次元 @param blob_idx blobのインデックス (0~ ailiaGetBlobCount() -1) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、それ以外のエラーの場合はエラーコードを返す。 @details このAPIはailiaOpenWeighXXX呼び出し後より利用可能です。
~english @brief Gets the amount of internal data (blob) during inference. @param net A network instance pointer @param shape The storage location of the shape array. (It stores dim-1, dim-2, ... ,1, 0 order.) @param dim The size of shape @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 ailiaGetBlobShapeND(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.UnsignedInt> shape,
int dim,
int blob_idx,
) {
return _ailiaGetBlobShapeND(
net,
shape,
dim,
blob_idx,
);
}