Document support for boolean values in tf.contrib.training.HParams.
authorStephan Hoyer <shoyer@google.com>
Thu, 12 Apr 2018 23:57:40 +0000 (16:57 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 13 Apr 2018 00:03:26 +0000 (17:03 -0700)
PiperOrigin-RevId: 192694244

tensorflow/contrib/training/python/training/hparam.py

index 185f70a..6c59b68 100644 (file)
@@ -315,7 +315,7 @@ class HParams(object):
 
   Hyperparameters have type, which is inferred from the type of their value
   passed at construction type.   The currently supported types are: integer,
-  float, string, and list of integer, float, or string.
+  float, boolean, string, and list of integer, float, boolean, or string.
 
   You can override hyperparameter values by calling the
   [`parse()`](#HParams.parse) method, passing a string of comma separated