Contents
Bases: Module
Module
Realisation of ‘snn’ model.
n_in (int) – Input dim.
int
n_out (int) – Output dim.
hidden_size (List[int]) – List of hidden dims.
List
drop_rate (Union[float, List[float]]) – Dropout rate for each layer separately or altogether.
Union
float
num_init_features (Optional[int]) – If not none add fc layer before model with certain dim.
Optional
Forward-pass.
Tensor
Init weights.