quantax.nn.Sequential#
- class quantax.nn.Sequential(layers: Sequence[Callable], holomorphic: bool = False)#
Bases:
SequentialA sequence of
equinox.Moduleapplied in order similar to Sequential in Equinox.Note
Functions can be added as a layer by wrapping them in
equinox.nn.Lambda.- __init__(layers: Sequence[Callable], holomorphic: bool = False)#
- Parameters:
layers – A sequence of
equinox.Module.holomorphic – Whether the whole network is a complex holomorphic function, default to
False.
Note
The users are responsible to ensure the given
holomorphicargument is correct.
Attributes
layersholomorphic