code: def build_model(hp):
      model = keras.Sequential()
      for i in range(hp.Int("layers", 1, 3)):
          model.add(
              keras.layers.Dense(
                  hp.Int(f"units{str(i)}", 1, 5), activation="relu"
              )
          )
  
          model.add(
              keras.layers.Lambda(
                  lambda x: x + hp.Float(f"bias{str(i)}", -1, 1)
              )
          )
  
      model.add(keras.layers.Dense(1, activation="sigmoid"))
      model.compile("sgd", "mse")
      return model
  
file_path: keras-tuner/keras_tuner/tuners/hyperband_test.py
imports: import numpy
  import pytest
  import keras_tuner
  from keras_tuner import backend
  from keras_tuner import utils
  from keras_tuner.backend import keras
  from keras_tuner.engine import tuner_utils
  from keras_tuner.tuners import hyperband
label_desc: Use image node_id 1 for calling a global function with example usage: build_model(hp) and returns: model