| 2649 | } |
| 2650 | |
| 2651 | bool llama_vocab::impl::is_byte(llama_token id) const { |
| 2652 | GGML_ASSERT(type != LLAMA_VOCAB_TYPE_NONE); |
| 2653 | return id_to_token[id].attr & LLAMA_TOKEN_ATTR_BYTE; |
| 2654 | } |
| 2655 | |
| 2656 | bool llama_vocab::impl::is_user_defined(llama_token id) const { |
| 2657 | GGML_ASSERT(type != LLAMA_VOCAB_TYPE_NONE); |
no outgoing calls
no test coverage detected