tf.contrib.training.HParams | TensorFlow
man.hubwiz.com › python › tfThe parameter names are added as attributes of HParams object, so they can be accessed directly with the dot notation hparams._name_. Example: # Define 3 hyperparameters: 'learning_rate' is a float parameter, # 'num_hidden_units' an integer parameter, and 'activation' a string # parameter. hparams = tf.HParams( learning_rate=0.1, num_hidden ...