maxvit_t¶
- torchvision.models.maxvit_t(*, weights: Optional[MaxVit_T_Weights] = None, progress: bool = True, **kwargs: Any) MaxVit[source]¶
Constructs a maxvit_t architecture from MaxViT: Multi-Axis Vision Transformer.
- Parameters:
weights (
MaxVit_T_Weights, optional) – The pretrained weights to use. SeeMaxVit_T_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used.progress (bool, optional) – If True, displays a progress bar of the download to stderr. Default is True.
**kwargs – parameters passed to the
torchvision.models.maxvit.MaxVitbase class. Please refer to the source code for more details about this class.