public
ResMLP
— struct
ResMLP(size::Symbol = :base; patch_size::Dims{2} = (16, 16), imsize::Dims{2} = (224, 224),
drop_path_rate = 0., nclasses = 1000)
Creates a model with the ResMLP architecture. (reference).
Arguments
size
: the size of the model - one ofsmall
,base
,large
orhuge
patch_size
: the size of the patchesimsize
: the size of the input imagedrop_path_rate
: Stochastic depth ratenclasses
: number of output classes
See also Metalhead.mlpmixer
.