code: def insert(self, hp_name):
      names = hp_name.split("/")
  
      new_word = False
      current_node = self.root
      nodes_on_path = [current_node]
      for name in names:
          if name not in current_node.children:
              current_node.children[name] = TrieNode()
              new_word = True
          current_node = current_node.children[name]
          nodes_on_path.append(current_node)
      current_node.hp_name = hp_name
  
      if new_word:
          for node in nodes_on_path:
              node.num_leaves += 1
  
imports: import copy
  from typing import Any
  from typing import Dict
  from typing import List
  from typing import Optional
  import keras_tuner
  import numpy
  from autokeras.engine import tuner
label_desc: Use image node_id 2 for calling the Trie obj's underlying member method code with example usage: obj.insert(hp_name) without return types