class
ConvMixerParams
PythonConvMixer parameters
ConvMixerParams()ConvMixer parameters
attribute
model_config
Pythonmodel_config = ConfigDict(frozen=True, extra='forbid')attribute
family
Pythonfamily: Literal['convmixer'] = 'convmixer'Model family
attribute
filters
Pythonfilters: int = Field(default=256, description='# filters per layer')Number of filters per layer
attribute
depth
Pythondepth: int = Field(default=8, description='Network depth')Network depth
attribute
kernel_size
Pythonkernel_size: int = Field(default=5, description='Filter size')Filter size
attribute
patch_size
Pythonpatch_size: int = Field(default=2, description='Patch size')Patch size
attribute
include_top
Pythoninclude_top: bool = Field(default=True, description='Include top')Include top
attribute
num_classes
Pythonnum_classes: int | None = Field(default=None, gt=0, description='Classes of the dense head; None for no dense layer')Classes of the dense head; None for no dense layer
attribute
output_activation
Pythonoutput_activation: str | None = Field(default=None, description='Output activation')Output activation