netket.models.RBM#
- class netket.models.RBM[source]#
Bases:
ModuleA restricted boltzman Machine, equivalent to a 2-layer FFNN with a nonlinear activation function in between.
- Attributes
-
- precision: Any = None#
numerical precision of the computation see
jax.lax.Precisionfor details.
if True uses a bias in the dense layer (hidden layer bias).
- use_visible_bias: bool = True#
if True adds a bias to the input not passed through the nonlinear layer.
- kernel_init: Callable[[Any, Sequence[int], None | str | type[Any] | dtype | _SupportsDType], Array]#
Initializer for the Dense layer matrix.
Initializer for the hidden bias.