ailiaGetSummaryLength method

int ailiaGetSummaryLength(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> buffer_size
)

~japanese @brief ネットワークSummary用に必要なバッファのサイズを取得します。 @param net ネットワークオブジェクトポインタ @param buffer_size バッファのサイズの格納先(終端null文字分を含む) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details このAPIはailiaOpenWeighXXX呼び出し後より利用可能です。

~english @brief Gets the size of the buffer needed for the network summary. @param net A network instance pointer @param buffer_size The storage location of the buffer size (including the null terminator) @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 ailiaGetSummaryLength(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> buffer_size,
) {
  return _ailiaGetSummaryLength(
    net,
    buffer_size,
  );
}