Class HpBool
- java.lang.Object
-
- ai.djl.training.hyperparameter.param.Hyperparameter<T>
-
- ai.djl.training.hyperparameter.param.HpCategorical<java.lang.Boolean>
-
- ai.djl.training.hyperparameter.param.HpBool
-
public class HpBool extends HpCategorical<java.lang.Boolean>
AHyperparameter
for a boolean option.
-
-
Field Summary
-
Fields inherited from class ai.djl.training.hyperparameter.param.Hyperparameter
name
-
-
Method Summary
-
Methods inherited from class ai.djl.training.hyperparameter.param.HpCategorical
random, toString
-
Methods inherited from class ai.djl.training.hyperparameter.param.Hyperparameter
getName
-
-
-
-
Constructor Detail
-
HpBool
public HpBool(java.lang.String name)
Constructs aHpBool
.- Parameters:
name
- the name of the hyperparameter
-
-