netket.errors.SymmModuleInvalidInputShape

netket.errors.SymmModuleInvalidInputShape#

exception netket.errors.SymmModuleInvalidInputShape[source]#

This error when you attempt to use a module with an input having a wrong number of dimensions.

In particular, Simmetric layers require inputs with 3 dimensions \((B, C, L)\):
  • Batch dimension, which should be 1 if only 1 sample is considered

  • Channel or Features dimension, which should encode multiple features, usually

    originated from previous layers. If this is the first simmetric layer, you can set this dimension to 1

  • Length, which should span the physical degrees of freedom.