Skip to content

Networks

FcNet #

Bases: Sequential

HParams #

Dataclass containing the network hyper-parameters.

This is an example of how Pydantic can be used to validate configs and command-line arguments.

dropout_rate class-attribute instance-attribute #

dropout_rate: float = 0.5

Dropout rate.

Set to 0 to disable dropout.