netket.models.RBMSymm#
- class netket.models.RBMSymm[source]#
Bases:
ModuleA symmetrized RBM using the
netket.nn.DenseSymm()layer internally.- 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.
- symmetries: HashableArray | PermutationGroup#
A group of symmetry operations (or array of permutation indices) over which the layer should be invariant. Numpy/Jax arrays must be wrapped into an
netket.utils.HashableArray.
- kernel_init: Callable[[Any, Sequence[int], None | str | type[Any] | dtype | _SupportsDType], Array]#
Initializer for the Dense layer matrix.
Initializer for the hidden bias.