quantax.nn.ReshapeConv#
- class quantax.nn.ReshapeConv#
Bases:
ModuleReshape the input to the shape suitable for convolutional layers.
A Fock state in Quantax is usually given by a 1D array with entries +1/-1. This layer reshapes it to
shape.- __init__(dtype: str | type[Any] | dtype | SupportsDType = <class 'jax.numpy.float32'>)#
- Parameters:
dtype – Convert the input to the given data type, by default
float32.
Attributes
dtype