class_docstr: # Arguments
      name: String. The name of the HyperModel. If unspecified, it will be set
          automatically with the class name.
code: def __init__(self, name: str = None, **kwargs):
      if not name:
          prefix = self.__class__.__name__
          name = prefix + "_" + str(keras.backend.get_uid(prefix))
          name = utils.to_snake_case(name)
      super().__init__(name=name, **kwargs)
  
file_path: autokeras/autokeras/engine/named_hypermodel.py
imports: import keras_tuner
  from tensorflow import keras
  from autokeras.engine import serializable
  from autokeras.utils import utils
label_desc: Use image node_id 1 to create a new NamedHyperModel object from inherited base classes: keras_tuner, serializable with example: obj = NamedHyperModel(name)