Scalar hyperparameter model#

class fortuna.model.scalar_hyper.ScalarHyperparameterModel(output_dim, value, parent=<flax.linen.module._Sentinel object>, name=None)[source]#

Bases: Module

A scalar hyperparameter model. The scalar value of the hyperparameter will not change during training, and it will be broadcasted to the output dimension.

Parameters:
  • output_dim (int) – The output model dimension.

  • value (float) – Scalar value of the hyperparameter.