ailiaTokenizerGetVocabSize method

int ailiaTokenizerGetVocabSize(
  1. Pointer<AILIATokenizer> net,
  2. Pointer<UnsignedInt> size
)

~japanese @brief Vocabの数を取得します。 @param net トークナイザオブジェクトポインタ @param size Vocabの要素数 @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Gets the size of vocab. (Include null) @param net A tokenizer instance pointer @param size The size of vocab @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaTokenizerGetVocabSize(
  ffi.Pointer<AILIATokenizer> net,
  ffi.Pointer<ffi.UnsignedInt> size,
) {
  return _ailiaTokenizerGetVocabSize(
    net,
    size,
  );
}