fusionlab.params.FixedC¶
- class fusionlab.params.FixedC[source]¶
Bases:
_BaseCNon-trainable, constant \(C\).
Indicates that the PINN’s physical coefficient \(C\) should be held fixed (non-trainable) at a specified value.
\[C = \text{value}, \qquad \text{non-trainable}.\]- Parameters:
value (
float) – Constant \(C \ge 0\).- Variables:
value (
float) – The non-negative, constant value of \(C\).
Examples
>>> from fusionlab.params import FixedC >>> # Use a fixed C = 0.5 >>> pinn_coeff = FixedC(value=0.5)
Methods
__init__(value, **kwargs)from_config(cfg)get_config()Attributes
trainableoverridden by concrete classes