geoprior.params.FixedC#

class geoprior.params.FixedC(value, **kwargs)[source]#

Bases: _BaseC

Non-trainable, constant \(C\).

Indicates that the PINN’s physical coefficient \(C\) should be held fixed (non-trainable) at a specified value.

(1)#\[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 geoprior.params import FixedC
>>> # Use a fixed C = 0.5
>>> pinn_coeff = FixedC(value=0.5)
__init__(value, **kwargs)[source]#
Parameters:

value (float)

Methods

__init__(value, **kwargs)

from_config(cfg)

get_config()

Attributes

trainable

overridden by concrete classes

__init__(value, **kwargs)[source]#
Parameters:

value (float)