ailiaGetBlobCount method

int ailiaGetBlobCount(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> blob_count
)

~japanese @brief 推論時の内部データ(Blob)の数を取得します。 @param net ネットワークオブジェクトポインタ @param blob_count blobの数の格納先 @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details このAPIはailiaOpenStreamXXX呼び出し後より利用可能です。 なお、ailiaOpenStreamXXX呼び出し時は入出力Blobのみが列挙され、ailiaOpneWeightXXX呼び出し時に中間Blobの列挙が行われます。 そのためailiaOpenStreamXXX呼び出し直後とailiaOpneWeightXXX呼び出し直後で返答する数が変わる場合があります。

~english @brief Gets the amount of internal data (blob) during inference. @param net A network instance pointer @param blob_count Storage location of the number of blobs @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 ailiaOpenStreamXXX(). In addition, this api returuns number of sum of inputs and outputs when after call ailiaOpenStreamXXX. And, when call ailiaOpenWeightXXX, enumerate and optimzie intermediate blobs. So, this api may return more count after call ailiaOpenWeightXXX.

Implementation

int ailiaGetBlobCount(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> blob_count,
) {
  return _ailiaGetBlobCount(
    net,
    blob_count,
  );
}