Bases: Sequential
, CLFMixin
, SizeMixin
, DiffMixin
Multi-layer perceptron modified from
FedPD/models.py.
- Parameters:
dim_in (int) – Number of input features.
dim_hidden (int) – Number of hidden features.
dim_out (int) – Number of output features.
ndim (int, default 2) – Number of dimensions of input data.
2 for image data, 1 for sequence data,
0 for vectorized data.