code: def test_float_sampling_arg():
      f = hp_module.Float("f", 1e-20, 1e10, sampling="log")
      f = hp_module.Float.from_config(f.get_config())
      assert f.sampling == "log"
  
file_path: keras-tuner/keras_tuner/engine/hyperparameters/hp_types/float_hp_test.py
imports: import numpy
  from keras_tuner import protos
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 8 for calling a global function with example usage: test_float_sampling_arg() without return types