ailiaTokenizerGetVocabSize method

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

Gets the size of vocab. (Include null)

Parameters:

  • net: A tokenizer instance pointer
  • size: The size of vocab

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

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