Class HpCategorical<T>
java.lang.Object
ai.djl.training.hyperparameter.param.Hyperparameter<T>
ai.djl.training.hyperparameter.param.HpCategorical<T>
- Type Parameters:
T
- the type of the options
- Direct Known Subclasses:
HpBool
A
Hyperparameter
which is one of a fixed number of options (similar to an enum).-
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
-
HpCategorical
Constructs aHpCategorical
.- Parameters:
name
- the name of the hyperparameterscategories
- the valid values for the hyperparameter
-
-
Method Details