From: Stephan Hoyer Date: Thu, 12 Apr 2018 23:57:40 +0000 (-0700) Subject: Document support for boolean values in tf.contrib.training.HParams. X-Git-Tag: upstream/v1.9.0_rc1~329^2^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59c828c5f0d040f6461534d7760e2ff6e89b3f1a;p=platform%2Fupstream%2Ftensorflow.git Document support for boolean values in tf.contrib.training.HParams. PiperOrigin-RevId: 192694244 --- diff --git a/tensorflow/contrib/training/python/training/hparam.py b/tensorflow/contrib/training/python/training/hparam.py index 185f70a..6c59b68 100644 --- a/tensorflow/contrib/training/python/training/hparam.py +++ b/tensorflow/contrib/training/python/training/hparam.py @@ -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