Class HpFloat
java.lang.Object
ai.djl.training.hyperparameter.param.Hyperparameter<Float>
ai.djl.training.hyperparameter.param.HpFloat
A
Hyperparameter for a float.-
Field Summary
Fields inherited from class ai.djl.training.hyperparameter.param.Hyperparameter
name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ai.djl.training.hyperparameter.param.Hyperparameter
getName
-
Constructor Details
-
HpFloat
Constructs aHpFloat.- Parameters:
name- the name of the hyperparameterlower- the lower bound (inclusive)upper- the upper bound (exclusive)log- whether to use log space. This is useful if your bounds cover different orders of magnitude (e.g. 1E-5 to 1E-2) instead of same magnitude (e.g. 2 to 5).
-
-
Method Details