ailiaGetInputDim method

int ailiaGetInputDim(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> dim
)

~japanese @brief 推論時の入力データの次元を取得します。 @param net ネットワークオブジェクトポインタ @param dim 入力データの次元の格納先 @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、それ以外のエラーの場合はエラーコードを返す。 @details このAPIはailiaOpenWeighXXX呼び出し後より利用可能です。

~english @brief Gets the dimension of the input data during inference. @param net A network instance pointer @param dim The storage location of the dimension @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 ailiaGetInputDim(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> dim,
) {
  return _ailiaGetInputDim(
    net,
    dim,
  );
}