code: def _get_hyperparameters() -> keras_tuner.HyperParameters:
      """Returns hyperparameters for building Keras model."""
      hp = keras_tuner.HyperParameters()
      # Defines search space.
      hp.Choice("learning_rate", [1e-2, 1e-3], default=1e-2)
      hp.Int("num_layers", 1, 3, default=2)
      return hp
  
file_path: tfx/tfx/examples/penguin/penguin_utils_keras.py
imports: import absl
  import keras_tuner
  import tensorflow
  from tensorflow import keras
  import tensorflow_transform
  from tfx import v1
  from tfx.examples.penguin import penguin_utils_base
label_desc: Use image node_id 1 for calling a global function with example usage: _get_hyperparameters() and returns: hp