mlx.data.core.CharTrie.insert#
- CharTrie.insert(self: mlx.data._c.core.CharTrie, token: Union[str, List[str]]) mlx.data._c.core.CharTrieNode #
Insert a token in the trie making a new token if it doesn’t already exist.
Insert a token in the trie making a new token if it doesn’t already exist.