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-5, 1e-4, 1e-3, 1e-2], default=1e-2)
      hp.Int("num_layers", 1, 4, default=2)
      return hp
  
imports: import datetime
  import os
  from typing import List
  from absl import logging
  import keras_tuner
  import tensorflow
  from tensorflow import keras
  import tensorflow_transform
  import tfx.v1
  from tfx_bsl.public import tfxio
  from tensorflow_cloud.core import machine_config
  from tensorflow_cloud.tuner import tuner
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 6 for calling a global function with example usage: _get_hyperparameters() and returns: hp