code: def llama_tokenize(
      ctx: llama_context_p,
      text: bytes,
      tokens,  # type: Array[llama_token]
      n_max_tokens: c_int,
      add_bos: c_bool,
  ) -> int:
      return _lib.llama_tokenize(
          ctx, text, tokens, n_max_tokens, add_bos
      )
  
imports: import sys
  import os
  import ctypes
  from ctypes import c_int, c_float, c_char_p, c_void_p, c_bool, pointer, POINTER, _Pointer, Structure, Array, c_uint8, c_size_t
  import pathlib
  from bigdl.llm.utils.common import invalidInputError
  from bigdl.llm.utils.utils import get_shared_lib_info
label_desc: Use image node_id 19 for calling a global function with example usage: llama_tokenize(ctx, text, tokens, n_max_tokens, add_bos) and returns: _lib