pytorch-image-models API reference
400 public APIs from pytorch-image-models (huggingface/pytorch-image-models) — 131 classes, 196 functions, 73 methods. Signatures extracted by static analysis of the actual source.
Repository: huggingface/pytorch-image-models
| Kind | Count |
|---|---|
| Classes | 131 |
| Functions | 196 |
| Methods | 73 |
API list
func
convert.convert_gemma4_vit.remap_key(key:str) -> str | NoneRemap a single HF Transformers key to timm format.
class
timm.data.readers.reader_wds.ResampledShards2An iterable dataset yielding a list of urls.
class
timm.data.transforms.CenterCropOrPadCrops the given image at the center.
class
timm.data.transforms.ResizeKeepRatioResize and Keep Aspect Ratio
class
timm.data.transforms.ToTensorToTensor with no rescaling of values
class
timm.layers.activations.PReLUApplies PReLU (w/ dummy inplace arg)
class
timm.layers.activations_me.HardSwishAutoFnA memory efficient HardSwish activation
class
timm.layers.attention.AttentionRopeA Self Attention module with ROPE support.
class
timm.layers.attention2d.MultiQueryAttention2dMulti Query Attention with spatial downsampling.
method
timm.layers.attention2d.MultiQueryAttention2d.forward(x, attn_mask:Optional[torch.Tensor]=None)Run layer computation.
class
timm.layers.attention2d.MultiQueryAttentionV2Multi Query Attention.
method
timm.layers.attention2d.MultiQueryAttentionV2.forward(x, m:Optional[torch.Tensor]=None)Run layer computation.
class
timm.layers.cbam.SpatialAttnOriginal CBAM spatial attention module
class
timm.layers.coord_attn.EfficientLocalAttnEfficient Local Attention.
class
timm.layers.coord_attn.SimpleCoordAttnSimplified Coordinate Attention variant.
class
timm.layers.coord_attn.StripAttnMinimal Strip Attention.
class
timm.layers.diff_attention.DiffAttentionDifferential Attention module.
class
timm.layers.drop.DropBlock2dDropBlock.
func
timm.layers.drop.drop_block_2d(x:torch.Tensor, drop_prob:float=0.1, block_size:int=7, gamma_scale:float=1.0, with_noise:bool=False, inplace:bool=False, couple_channels:bool=True, scale_by_keep:bool=True)DropBlock.
class
timm.layers.eca.CecaModuleConstructs a circular ECA module.
class
timm.layers.eca.EcaModuleConstructs an ECA module.
class
timm.layers.gather_excite.GatherExciteGather-Excite Attention Module
func
timm.layers.grid.meshgrid(*tensors) -> Tuple[torch.Tensor, ...]generate N-D grid in spatial dim order.
func
timm.layers.grid.ndgrid(*tensors) -> Tuple[torch.Tensor, ...]generate N-D grid in dimension order.
class
timm.layers.grn.GlobalResponseNormGlobal Response Normalization layer
class
timm.layers.layer_scale.LayerScaleLayerScale on tensors with channels in last-dim.
class
timm.layers.layer_scale.LayerScale2dLayerScale for tensors with torch 2D NCHW layout.
class
timm.layers.mlp.GatedMlpMLP as used in gMLP
class
timm.layers.non_local_attn.NonLocalAttnSpatial NL block for image classification.
class
timm.layers.norm.GroupNorm1Group Normalization with 1 group.
class
timm.layers.norm.LayerNormLayerNorm w/ fast norm option
class
timm.layers.norm.LayerNorm2dLayerNorm for channels of '2D' spatial NCHW tensors
class
timm.layers.norm.LayerNorm2dFp32LayerNorm for channels of '2D' spatial NCHW tensors
class
timm.layers.norm.LayerNormFp32LayerNorm
class
timm.layers.norm.RmsNormRmsNorm w/ fast (apex) norm if available
class
timm.layers.norm.RmsNormFp32RmsNorm w/ fast (apex) norm if available
class
timm.layers.norm.SimpleNormSimpleNorm (x / std(x))
class
timm.layers.norm.SimpleNorm2dSimpleNorm for NCHW tensors
class
timm.layers.norm.SimpleNorm2dFp32SimpleNorm for NCHW tensors
class
timm.layers.norm.SimpleNormFp32SimpleNorm (x / std(x))
class
timm.layers.other_pool.LsePlus1dLogSumExp (LSE) Pooling for sequence (NLC) inputs.
class
timm.layers.other_pool.LsePlus2dLogSumExp (LSE) Pooling for 2D inputs.
class
timm.layers.patch_dropout.PatchDropoutPatch Dropout without returning indices.
class
timm.layers.patch_embed.PatchEmbed2D Image to Patch Embedding
class
timm.layers.patch_embed.PatchEmbedWithSize2D Image to Patch Embedding
class
timm.layers.pool2d_same.AvgPool2dSameTensorflow like 'SAME' wrapper for 2D average pooling
class
timm.layers.pool2d_same.MaxPool2dSameTensorflow like 'SAME' wrapper for 2D max pooling
method
timm.layers.pos_embed_sincos.RotaryEmbedding.init_non_persistent_buffers() -> NoneInitialize non-persistent buffers.
method
timm.layers.pos_embed_sincos.RotaryEmbedding.reset_parameters() -> NoneInitialize parameters and buffers.
func
timm.layers.pos_embed_sincos.get_mixed_freqs(freqs:torch.Tensor, t_x:torch.Tensor, t_y:torch.Tensor) -> torch.TensorCompute mixed (learnable) frequencies.
class
timm.layers.separable_conv.SeparableConv2dSeparable Conv
class
timm.layers.separable_conv.SeparableConvNormActSeparable Conv w/ trailing Norm and Activation
class
timm.layers.space_to_depth.DepthToSpaceRearrange channel dimension into spatial dimensions.
class
timm.layers.space_to_depth.SpaceToDepthRearrange spatial dimensions into channel dimension.
class
timm.layers.split_attn.SplitAttnSplit-Attention (aka Splat)
class
timm.layers.std_conv.ScaledStdConv2dConv2d layer with Scaled Weight Standardization.
class
timm.layers.std_conv.StdConv2dConv2d with Weight Standardization.
class
timm.layers.std_conv.StdConv2dSameConv2d with Weight Standardization.
class
timm.loss.cross_entropy.LabelSmoothingCrossEntropyNLL loss with label smoothing.
func
timm.models._builder.set_pretrained_check_hash(enable:bool=True) -> NoneSet hash checking for pretrained weights on/off (globally).
class
timm.models._efficientnet_blocks.CondConvResidualInverted residual block w/ CondConv routing
func
timm.models._factory.parse_model_name(model_name:str) -> Tuple[Optional[str], str]Parse source and name from potentially prefixed model name.
func
timm.models._factory.safe_model_name(model_name:str, remove_source:bool=True) -> strReturn a filename / path safe model name.
func
timm.models._registry.get_arch_pretrained_cfgs(model_name:str) -> Dict[str, PretrainedCfg]Get all pretrained cfgs for a given architecture.
func
timm.models._registry.get_pretrained_cfg_value(model_name:str, cfg_key:str) -> Optional[Any]Get a specific model default_cfg value by key.
func
timm.models._registry.is_model(model_name:str) -> boolCheck if a model name exists
func
timm.models._registry.model_entrypoint(model_name:str, module_filter:Optional[str]=None) -> Callable[..., Any]Fetch a model entrypoint for specified model name
method
timm.models.beit.Attention.forward(x:torch.Tensor, shared_rel_pos_bias:Optional[torch.Tensor]=None) -> torch.TensorForward pass of attention module.
method
timm.models.beit.Attention.init_non_persistent_buffers() -> NoneInitialize non-persistent buffers.
method
timm.models.beit.Attention.reset_parameters() -> NoneInitialize parameters and buffers.
class
timm.models.beit.BeitBEiT: BERT Pre-Training of Image Transformers.
method
timm.models.beit.Beit.fix_init_weight() -> NoneFix initialization weights according to BEiT paper.
method
timm.models.beit.Beit.forward(x:torch.Tensor) -> torch.TensorForward pass through the model.
method
timm.models.beit.Beit.forward_features(x:torch.Tensor) -> torch.TensorForward pass through feature extraction layers.
method
timm.models.beit.Beit.forward_head(x:torch.Tensor, pre_logits:bool=False) -> torch.TensorForward pass through classification head.
method
timm.models.beit.Beit.get_classifier() -> nn.ModuleGet the classifier head.
method
timm.models.beit.Beit.init_weights(needs_reset:bool=True) -> NoneInitialize model weights.
method
timm.models.beit.Beit.reset_classifier(num_classes:int, global_pool:Optional[str]=None)Reset the classification head.
method
timm.models.beit.Beit.set_grad_checkpointing(enable:bool=True)Enable or disable gradient checkpointing.
class
timm.models.beit.BlockTransformer block with attention and MLP.
method
timm.models.beit.Block.forward(x:torch.Tensor, shared_rel_pos_bias:Optional[torch.Tensor]=None) -> torch.TensorForward pass of transformer block.
method
timm.models.beit.Block.reset_parameters() -> NoneInitialize parameters.
method
timm.models.beit.RelativePositionBias.forward() -> torch.TensorGenerate relative position bias.
method
timm.models.beit.RelativePositionBias.init_non_persistent_buffers() -> NoneInitialize non-persistent buffers.
method
timm.models.beit.RelativePositionBias.reset_parameters() -> NoneInitialize parameters and buffers.
func
timm.models.beit.beit_base_patch16_224(pretrained:bool=False, **kwargs) -> BeitBEiT base model @ 224x224 with patch size 16x16.
func
timm.models.beit.beit_base_patch16_384(pretrained:bool=False, **kwargs) -> BeitBEiT base model @ 384x384 with patch size 16x16.
func
timm.models.beit.beit_large_patch16_224(pretrained:bool=False, **kwargs) -> BeitBEiT large model @ 224x224 with patch size 16x16.
func
timm.models.beit.beit_large_patch16_384(pretrained:bool=False, **kwargs) -> BeitBEiT large model @ 384x384 with patch size 16x16.
func
timm.models.beit.beit_large_patch16_512(pretrained:bool=False, **kwargs) -> BeitBEiT large model @ 512x512 with patch size 16x16.
func
timm.models.beit.beitv2_base_patch16_224(pretrained:bool=False, **kwargs) -> BeitBEiT v2 base model @ 224x224 with patch size 16x16.
func
timm.models.beit.beitv2_large_patch16_224(pretrained:bool=False, **kwargs) -> BeitBEiT v2 large model @ 224x224 with patch size 16x16.
func
timm.models.byoanet.botnet26t_256(pretrained:bool=False, **kwargs) -> ByobNetBottleneck Transformer w/ ResNet26-T backbone.
func
timm.models.byoanet.botnet50ts_256(pretrained:bool=False, **kwargs) -> ByobNetBottleneck Transformer w/ ResNet50-T backbone, silu act.
func
timm.models.byoanet.eca_botnext26ts_256(pretrained:bool=False, **kwargs) -> ByobNetBottleneck Transformer w/ ResNet26-T backbone, silu act.
func
timm.models.byoanet.eca_halonext26ts(pretrained:bool=False, **kwargs) -> ByobNetHaloNet w/ a ResNet26-t backbone, silu act.
func
timm.models.byoanet.halo2botnet50ts_256(pretrained:bool=False, **kwargs) -> ByobNetCombo Attention (Halo + Halo + Bot) Network
func
timm.models.byoanet.halonet26t(pretrained:bool=False, **kwargs) -> ByobNetHaloNet w/ a ResNet26-t backbone.
func
timm.models.byoanet.halonet50ts(pretrained:bool=False, **kwargs) -> ByobNetHaloNet w/ a ResNet50-t backbone, silu act.
func
timm.models.byoanet.halonet_h1(pretrained:bool=False, **kwargs) -> ByobNetHaloNet-H1.
func
timm.models.byoanet.haloregnetz_b(pretrained:bool=False, **kwargs) -> ByobNetHalo + RegNetZ
func
timm.models.byoanet.lambda_resnet26rpt_256(pretrained:bool=False, **kwargs) -> ByobNetLambda-ResNet-26-R-T.
func
timm.models.byoanet.lambda_resnet26t(pretrained:bool=False, **kwargs) -> ByobNetLambda-ResNet-26-T.
func
timm.models.byoanet.lambda_resnet50ts(pretrained:bool=False, **kwargs) -> ByobNetLambda-ResNet-50-TS.
func
timm.models.byoanet.lamhalobotnet50ts_256(pretrained:bool=False, **kwargs) -> ByobNetCombo Attention (Lambda + Halo + Bot) Network
class
timm.models.byobnet.BasicBlockResNet Basic Block - kxk + kxk
class
timm.models.byobnet.BottleneckBlockResNet-like Bottleneck Block - 1x1 - kxk - 1x1
class
timm.models.byobnet.ByoBlockCfgBlock configuration for Bring-Your-Own-Blocks.
class
timm.models.byobnet.ByoModelCfgModel configuration for Bring-Your-Own-Blocks network.
class
timm.models.byobnet.ByobNetBring-your-own-blocks Network.
method
timm.models.byobnet.ByobNet.forward(x:torch.Tensor) -> torch.TensorForward pass.
method
timm.models.byobnet.ByobNet.forward_features(x:torch.Tensor) -> torch.TensorForward pass through feature extraction.
method
timm.models.byobnet.ByobNet.forward_head(x:torch.Tensor, pre_logits:bool=False) -> torch.TensorForward pass through head.
method
timm.models.byobnet.ByobNet.get_classifier() -> nn.ModuleGet classifier module.
method
timm.models.byobnet.ByobNet.group_matcher(coarse:bool=False) -> Dict[str, Any]Group matcher for parameter groups.
method
timm.models.byobnet.ByobNet.reset_classifier(num_classes:int, global_pool:Optional[str]=None) -> NoneReset classifier.
method
timm.models.byobnet.ByobNet.set_grad_checkpointing(enable:bool=True) -> NoneEnable or disable gradient checkpointing.
class
timm.models.byobnet.DownsampleAvgAverage pool downsampling module.
method
timm.models.byobnet.DownsampleAvg.forward(x:torch.Tensor) -> torch.TensorForward pass.
class
timm.models.byobnet.LayerFnContainer for layer factory functions.
class
timm.models.byobnet.MobileOneBlockMobileOne building block.
method
timm.models.byobnet.MobileOneBlock.forward(x:torch.Tensor) -> torch.TensorApply forward pass.
class
timm.models.byobnet.RepVggBlockRepVGG Block.
func
timm.models.byobnet.drop_blocks(drop_prob:float=0.0, block_size:int=3, num_stages:int=4) -> List[Optional[partial]]Create DropBlock layer partials for each stage.
func
timm.models.byobnet.interleave_blocks(types:Tuple[str, str], d:int, every:Union[int, List[int]]=1, first:bool=False, **kwargs) -> Tuple[ByoBlockCfg, ...]Interleave 2 block types in stack.
func
timm.models.byobnet.num_groups(group_size:Optional[int], channels:int) -> intCalculate number of groups for grouped convolution.
func
timm.models.byobnet.resnet101_clip(pretrained=False, **kwargs) -> ByobNetOpenAI Modified ResNet-101 CLIP image tower
func
timm.models.byobnet.resnet50_clip(pretrained=False, **kwargs) -> ByobNetOpenAI Modified ResNet-50 CLIP image tower
func
timm.models.byobnet.resnet50x16_clip(pretrained=False, **kwargs) -> ByobNetOpenAI Modified ResNet-50x16 CLIP image tower
func
timm.models.byobnet.resnet50x4_clip(pretrained=False, **kwargs) -> ByobNetOpenAI Modified ResNet-50x4 CLIP image tower
func
timm.models.byobnet.resnet50x64_clip(pretrained=False, **kwargs) -> ByobNetOpenAI Modified ResNet-50x64 CLIP image tower
class
timm.models.coat.CoaTCoaT class.
class
timm.models.coat.ConvPosEncConvolutional Position Encoding.
class
timm.models.coat.ConvRelPosEncConvolutional relative position encoding.
class
timm.models.coat.ParallelBlockParallel block class.
method
timm.models.coat.ParallelBlock.downsample(x, factor:float, size:Tuple[int, int])Feature map down-sampling.
method
timm.models.coat.ParallelBlock.interpolate(x, scale_factor:float, size:Tuple[int, int])Feature map interpolation.
method
timm.models.coat.ParallelBlock.upsample(x, factor:float, size:Tuple[int, int])Feature map up-sampling.
class
timm.models.coat.SerialBlockSerial block class.
func
timm.models.coat.insert_cls(x, cls_token)Insert CLS token.
func
timm.models.coat.remove_cls(x)Remove CLS token.
class
timm.models.convnext.ConvNeXtConvNeXt model architecture.
method
timm.models.convnext.ConvNeXt.forward(x:torch.Tensor) -> torch.TensorForward pass.
method
timm.models.convnext.ConvNeXt.forward_features(x:torch.Tensor) -> torch.TensorForward pass through feature extraction layers.
method
timm.models.convnext.ConvNeXt.forward_head(x:torch.Tensor, pre_logits:bool=False) -> torch.TensorForward pass through classifier head.
method
timm.models.convnext.ConvNeXt.get_classifier() -> nn.ModuleGet the classifier module.
method
timm.models.convnext.ConvNeXt.group_matcher(coarse:bool=False) -> Dict[str, Union[str, List]]Create regex patterns for parameter grouping.
method
timm.models.convnext.ConvNeXt.reset_classifier(num_classes:int, global_pool:Optional[str]=None) -> NoneReset the classifier head.
method
timm.models.convnext.ConvNeXt.set_grad_checkpointing(enable:bool=True) -> NoneEnable or disable gradient checkpointing.
class
timm.models.convnext.ConvNeXtBlockConvNeXt Block.
method
timm.models.convnext.ConvNeXtBlock.forward(x:torch.Tensor) -> torch.TensorForward pass.
class
timm.models.convnext.ConvNeXtStageConvNeXt stage (multiple blocks).
method
timm.models.convnext.ConvNeXtStage.forward(x:torch.Tensor) -> torch.TensorForward pass.
class
timm.models.convnext.DownsampleDownsample module for ConvNeXt.
method
timm.models.convnext.Downsample.forward(x:torch.Tensor) -> torch.TensorForward pass.
func
timm.models.convnext.checkpoint_filter_fn(state_dict, model)Remap FB checkpoints -> timm
class
timm.models.crossvit.PatchEmbedImage to Patch Embedding
class
timm.models.csatv2.BlockConvNeXt-style block with spatial attention.
class
timm.models.csatv2.Dct1d1D Discrete Cosine Transform layer.
class
timm.models.csatv2.Dct2d2D Discrete Cosine Transform layer.
class
timm.models.csatv2.Dct2dStatsUtility module to compute DCT coefficient statistics.
class
timm.models.csatv2.PosConvConvolutional position encoding.
func
timm.models.csatv2.checkpoint_filter_fn(state_dict:dict, model:nn.Module) -> dictRemap original CSATv2 checkpoint to timm format.
class
timm.models.cspnet.BottleneckBlockResNe(X)t Bottleneck Block
class
timm.models.cspnet.CrossStageCross Stage.
class
timm.models.cspnet.CrossStage3Cross Stage 3.
class
timm.models.cspnet.CspNetCross Stage Partial base model.
class
timm.models.cspnet.DarkBlockDarkNet Block
class
timm.models.cspnet.DarkStageDarkNet stage.
class
timm.models.davit.SpatialBlockWindows Block.
class
timm.models.densenet.DenseBlockDenseNet Block.
method
timm.models.densenet.DenseBlock.forward(init_features:torch.Tensor) -> torch.TensorForward pass through all layers in the block.
class
timm.models.densenet.DenseLayerDense layer for DenseNet.
method
timm.models.densenet.DenseLayer.any_requires_grad(x:List[torch.Tensor]) -> boolCheck if any tensor in list requires gradient.
method
timm.models.densenet.DenseLayer.bottleneck_fn(xs:List[torch.Tensor]) -> torch.TensorBottleneck function for concatenated features.
method
timm.models.densenet.DenseLayer.call_checkpoint_bottleneck(x:List[torch.Tensor]) -> torch.TensorCall bottleneck function with gradient checkpointing.
method
timm.models.densenet.DenseLayer.forward(x:Union[torch.Tensor, List[torch.Tensor]]) -> torch.TensorForward pass.
class
timm.models.densenet.DenseNetDensenet-BC model class.
method
timm.models.densenet.DenseNet.forward(x:torch.Tensor) -> torch.TensorForward pass.
method
timm.models.densenet.DenseNet.forward_features(x:torch.Tensor) -> torch.TensorForward pass through feature extraction layers.
method
timm.models.densenet.DenseNet.forward_head(x:torch.Tensor, pre_logits:bool=False) -> torch.TensorForward pass through classifier head.
method
timm.models.densenet.DenseNet.get_classifier() -> nn.ModuleGet the classifier head.
method
timm.models.densenet.DenseNet.group_matcher(coarse:bool=False) -> Dict[str, Any]Group parameters for optimization.
method
timm.models.densenet.DenseNet.reset_classifier(num_classes:int, global_pool:str='avg') -> NoneReset the classifier head.
method
timm.models.densenet.DenseNet.set_grad_checkpointing(enable:bool=True) -> NoneEnable or disable gradient checkpointing.
class
timm.models.densenet.DenseTransitionTransition layer between DenseNet blocks.
class
timm.models.dla.DlaBasicDLA Basic
class
timm.models.dla.DlaBottleneckDLA/DLA-X Bottleneck
func
timm.models.edgenext.checkpoint_filter_fn(state_dict, model)Remap FB checkpoints -> timm
class
timm.models.efficientformer.ConvMlpWithNormImplementation of MLP with 1*1 convolutions.
method
timm.models.efficientformer_v2.Attention2d.init_non_persistent_buffers() -> NoneInitialize non-persistent buffers.
method
timm.models.efficientformer_v2.Attention2d.reset_parameters() -> NoneInitialize parameters and buffers.
class
timm.models.efficientformer_v2.ConvMlpWithNormImplementation of MLP with 1*1 convolutions.
class
timm.models.efficientnet.EfficientNetEfficientNet model architecture.
method
timm.models.efficientnet.EfficientNet.forward(x:torch.Tensor) -> torch.TensorForward pass.
method
timm.models.efficientnet.EfficientNet.forward_features(x:torch.Tensor) -> torch.TensorForward pass through feature extraction layers.
method
timm.models.efficientnet.EfficientNet.forward_head(x:torch.Tensor, pre_logits:bool=False) -> torch.TensorForward pass through classifier head.
method
timm.models.efficientnet.EfficientNet.get_classifier() -> nn.ModuleGet the classifier module.
method
timm.models.efficientnet.EfficientNet.group_matcher(coarse:bool=False) -> Dict[str, Union[str, List]]Create regex patterns for parameter groups.
method
timm.models.efficientnet.EfficientNet.reset_classifier(num_classes:int, global_pool:str='avg') -> NoneReset the classifier head.
method
timm.models.efficientnet.EfficientNet.set_grad_checkpointing(enable:bool=True) -> NoneEnable or disable gradient checkpointing.
func
timm.models.efficientnet.efficientnet_b0(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B0
func
timm.models.efficientnet.efficientnet_b0_g8_gn(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B0 w/ group conv + GroupNorm
func
timm.models.efficientnet.efficientnet_b0_gn(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B0 + GroupNorm
func
timm.models.efficientnet.efficientnet_b1(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B1
func
timm.models.efficientnet.efficientnet_b1_pruned(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B1 Pruned.
func
timm.models.efficientnet.efficientnet_b2(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B2
func
timm.models.efficientnet.efficientnet_b2_pruned(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B2 Pruned.
func
timm.models.efficientnet.efficientnet_b3(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B3
func
timm.models.efficientnet.efficientnet_b3_g8_gn(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B3 w/ grouped conv + BN
func
timm.models.efficientnet.efficientnet_b3_gn(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B3 w/ GroupNorm
func
timm.models.efficientnet.efficientnet_b3_pruned(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B3 Pruned.
func
timm.models.efficientnet.efficientnet_b4(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B4
func
timm.models.efficientnet.efficientnet_b5(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B5
func
timm.models.efficientnet.efficientnet_b6(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B6
func
timm.models.efficientnet.efficientnet_b7(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B7
func
timm.models.efficientnet.efficientnet_b8(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B8
func
timm.models.efficientnet.efficientnet_blur_b0(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B0 w/ BlurPool
func
timm.models.efficientnet.efficientnet_cc_b0_4e(pretrained=False, **kwargs) -> EfficientNetEfficientNet-CondConv-B0 w/ 8 Experts
func
timm.models.efficientnet.efficientnet_cc_b0_8e(pretrained=False, **kwargs) -> EfficientNetEfficientNet-CondConv-B0 w/ 8 Experts
func
timm.models.efficientnet.efficientnet_cc_b1_8e(pretrained=False, **kwargs) -> EfficientNetEfficientNet-CondConv-B1 w/ 8 Experts
func
timm.models.efficientnet.efficientnet_el(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge-Large.
func
timm.models.efficientnet.efficientnet_el_pruned(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge-Large pruned.
func
timm.models.efficientnet.efficientnet_em(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge-Medium.
func
timm.models.efficientnet.efficientnet_es(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge Small.
func
timm.models.efficientnet.efficientnet_es_pruned(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge Small Pruned.
func
timm.models.efficientnet.efficientnet_h_b5(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B5
func
timm.models.efficientnet.efficientnet_l2(pretrained=False, **kwargs) -> EfficientNetEfficientNet-L2.
func
timm.models.efficientnet.efficientnet_lite0(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite0
func
timm.models.efficientnet.efficientnet_lite1(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite1
func
timm.models.efficientnet.efficientnet_lite2(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite2
func
timm.models.efficientnet.efficientnet_lite3(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite3
func
timm.models.efficientnet.efficientnet_lite4(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite4
func
timm.models.efficientnet.efficientnet_x_b3(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B3
func
timm.models.efficientnet.efficientnet_x_b5(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B5
func
timm.models.efficientnet.efficientnetv2_l(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Large.
func
timm.models.efficientnet.efficientnetv2_m(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Medium.
func
timm.models.efficientnet.efficientnetv2_rw_m(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Medium (RW variant).
func
timm.models.efficientnet.efficientnetv2_rw_s(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Small (RW variant).
func
timm.models.efficientnet.efficientnetv2_s(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Small.
func
timm.models.efficientnet.efficientnetv2_xl(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Xtra-Large.
func
timm.models.efficientnet.fbnetc_100(pretrained=False, **kwargs) -> EfficientNetFBNet-C
func
timm.models.efficientnet.mixnet_l(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Large model.
func
timm.models.efficientnet.mixnet_m(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Medium model.
func
timm.models.efficientnet.mixnet_s(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Small model.
func
timm.models.efficientnet.mixnet_xl(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Extra-Large model.
func
timm.models.efficientnet.mixnet_xxl(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Double Extra Large model.
func
timm.models.efficientnet.mnasnet_050(pretrained=False, **kwargs) -> EfficientNetMNASNet B1, depth multiplier of 0.5.
func
timm.models.efficientnet.mnasnet_075(pretrained=False, **kwargs) -> EfficientNetMNASNet B1, depth multiplier of 0.75.
func
timm.models.efficientnet.mnasnet_100(pretrained=False, **kwargs) -> EfficientNetMNASNet B1, depth multiplier of 1.0.
func
timm.models.efficientnet.mnasnet_140(pretrained=False, **kwargs) -> EfficientNetMNASNet B1, depth multiplier of 1.4
func
timm.models.efficientnet.mnasnet_small(pretrained=False, **kwargs) -> EfficientNetMNASNet Small, depth multiplier of 1.0.
func
timm.models.efficientnet.mobilenet_edgetpu_100(pretrained=False, **kwargs) -> EfficientNetMobileNet-EdgeTPU-v1 100.
func
timm.models.efficientnet.mobilenet_edgetpu_v2_l(pretrained=False, **kwargs) -> EfficientNetMobileNet-EdgeTPU-v2 Large.
func
timm.models.efficientnet.mobilenet_edgetpu_v2_m(pretrained=False, **kwargs) -> EfficientNetMobileNet-EdgeTPU-v2 Medium.
func
timm.models.efficientnet.mobilenet_edgetpu_v2_s(pretrained=False, **kwargs) -> EfficientNetMobileNet-EdgeTPU-v2 Small.
func
timm.models.efficientnet.mobilenet_edgetpu_v2_xs(pretrained=False, **kwargs) -> EfficientNetMobileNet-EdgeTPU-v2 Extra Small.
func
timm.models.efficientnet.mobilenetv1_100(pretrained=False, **kwargs) -> EfficientNetMobileNet V1
func
timm.models.efficientnet.mobilenetv1_100h(pretrained=False, **kwargs) -> EfficientNetMobileNet V1
func
timm.models.efficientnet.mobilenetv1_125(pretrained=False, **kwargs) -> EfficientNetMobileNet V1
func
timm.models.efficientnet.mobilenetv2_035(pretrained=False, **kwargs) -> EfficientNetMobileNet V2 w/ 0.35 channel multiplier
func
timm.models.efficientnet.mobilenetv2_050(pretrained=False, **kwargs) -> EfficientNetMobileNet V2 w/ 0.5 channel multiplier
func
timm.models.efficientnet.mobilenetv2_075(pretrained=False, **kwargs) -> EfficientNetMobileNet V2 w/ 0.75 channel multiplier
func
timm.models.efficientnet.mobilenetv2_100(pretrained=False, **kwargs) -> EfficientNetMobileNet V2 w/ 1.0 channel multiplier
func
timm.models.efficientnet.mobilenetv2_140(pretrained=False, **kwargs) -> EfficientNetMobileNet V2 w/ 1.4 channel multiplier
func
timm.models.efficientnet.semnasnet_050(pretrained=False, **kwargs) -> EfficientNetMNASNet A1 (w/ SE), depth multiplier of 0.5
func
timm.models.efficientnet.semnasnet_100(pretrained=False, **kwargs) -> EfficientNetMNASNet A1 (w/ SE), depth multiplier of 1.0.
func
timm.models.efficientnet.semnasnet_140(pretrained=False, **kwargs) -> EfficientNetMNASNet A1 (w/ SE), depth multiplier of 1.4.
func
timm.models.efficientnet.spnasnet_100(pretrained=False, **kwargs) -> EfficientNetSingle-Path NAS Pixel1
func
timm.models.efficientnet.tf_efficientnet_b0(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B0.
func
timm.models.efficientnet.tf_efficientnet_b1(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B1.
func
timm.models.efficientnet.tf_efficientnet_b2(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B2.
func
timm.models.efficientnet.tf_efficientnet_b3(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B3.
func
timm.models.efficientnet.tf_efficientnet_b4(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B4.
func
timm.models.efficientnet.tf_efficientnet_b5(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B5.
func
timm.models.efficientnet.tf_efficientnet_b6(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B6.
func
timm.models.efficientnet.tf_efficientnet_b7(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B7.
func
timm.models.efficientnet.tf_efficientnet_b8(pretrained=False, **kwargs) -> EfficientNetEfficientNet-B8.
func
timm.models.efficientnet.tf_efficientnet_cc_b0_4e(pretrained=False, **kwargs) -> EfficientNetEfficientNet-CondConv-B0 w/ 4 Experts.
func
timm.models.efficientnet.tf_efficientnet_cc_b0_8e(pretrained=False, **kwargs) -> EfficientNetEfficientNet-CondConv-B0 w/ 8 Experts.
func
timm.models.efficientnet.tf_efficientnet_cc_b1_8e(pretrained=False, **kwargs) -> EfficientNetEfficientNet-CondConv-B1 w/ 8 Experts.
func
timm.models.efficientnet.tf_efficientnet_el(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge-Large.
func
timm.models.efficientnet.tf_efficientnet_em(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge-Medium.
func
timm.models.efficientnet.tf_efficientnet_es(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Edge Small.
func
timm.models.efficientnet.tf_efficientnet_l2(pretrained=False, **kwargs) -> EfficientNetEfficientNet-L2 NoisyStudent.
func
timm.models.efficientnet.tf_efficientnet_lite0(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite0
func
timm.models.efficientnet.tf_efficientnet_lite1(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite1
func
timm.models.efficientnet.tf_efficientnet_lite2(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite2
func
timm.models.efficientnet.tf_efficientnet_lite3(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite3
func
timm.models.efficientnet.tf_efficientnet_lite4(pretrained=False, **kwargs) -> EfficientNetEfficientNet-Lite4
func
timm.models.efficientnet.tf_efficientnetv2_b0(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2-B0.
func
timm.models.efficientnet.tf_efficientnetv2_b1(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2-B1.
func
timm.models.efficientnet.tf_efficientnetv2_b2(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2-B2.
func
timm.models.efficientnet.tf_efficientnetv2_b3(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2-B3.
func
timm.models.efficientnet.tf_efficientnetv2_l(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Large.
func
timm.models.efficientnet.tf_efficientnetv2_m(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Medium.
func
timm.models.efficientnet.tf_efficientnetv2_s(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Small.
func
timm.models.efficientnet.tf_efficientnetv2_xl(pretrained=False, **kwargs) -> EfficientNetEfficientNet-V2 Xtra-Large.
func
timm.models.efficientnet.tf_mixnet_l(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Large model.
func
timm.models.efficientnet.tf_mixnet_m(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Medium model.
func
timm.models.efficientnet.tf_mixnet_s(pretrained=False, **kwargs) -> EfficientNetCreates a MixNet Small model.
class
timm.models.efficientvit_mit.LiteMLALightweight multi-scale linear attention
class
timm.models.efficientvit_msra.EfficientVitBlockA basic EfficientVit building block.
class
timm.models.efficientvit_msra.LocalWindowAttentionLocal Window Attention.
func
timm.models.eva.eva02_base_patch14_224(pretrained:bool=False, **kwargs) -> EvaEVA02 Base https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva02_base_patch14_448(pretrained:bool=False, **kwargs) -> EvaEVA02 Base https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva02_large_patch14_224(pretrained:bool=False, **kwargs) -> EvaEVA02 Large https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva02_large_patch14_448(pretrained:bool=False, **kwargs) -> EvaEVA02 Large https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva02_small_patch14_224(pretrained:bool=False, **kwargs) -> EvaEVA02 Small https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva02_small_patch14_336(pretrained:bool=False, **kwargs) -> EvaEVA02 Small https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva02_tiny_patch14_224(pretrained:bool=False, **kwargs) -> EvaEVA02 Tiny https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva02_tiny_patch14_336(pretrained:bool=False, **kwargs) -> EvaEVA02 Tiny https://arxiv.org/abs/2303.11331
func
timm.models.eva.eva_giant_patch14_224(pretrained:bool=False, **kwargs) -> EvaEVA-g model https://arxiv.org/abs/2211.07636
func
timm.models.eva.eva_giant_patch14_336(pretrained:bool=False, **kwargs) -> EvaEVA-g model https://arxiv.org/abs/2211.07636
func
timm.models.eva.eva_giant_patch14_560(pretrained:bool=False, **kwargs) -> EvaEVA-g model https://arxiv.org/abs/2211.07636
func
timm.models.eva.vit_base_patch16_rope_reg1_gap_256(pretrained:bool=False, **kwargs) -> Evatimm SBB ViT with ROPE
func
timm.models.eva.vit_betwixt_patch16_rope_reg4_gap_256(pretrained:bool=False, **kwargs) -> Evatimm SBB ViT with ROPE
func
timm.models.eva.vit_medium_patch16_rope_reg1_gap_256(pretrained:bool=False, **kwargs) -> Evatimm SBB ViT with ROPE
func
timm.models.eva.vit_mediumd_patch16_rope_reg1_gap_256(pretrained:bool=False, **kwargs) -> Evatimm SBB ViT with ROPE
func
timm.models.eva.vit_tiny_patch16_dinov3_qkvb(pretrained:bool=False, **kwargs) -> EvaDINOv3-style T/16 w/ QKV bias enabled.
class
timm.models.fastvit.AttentionMulti-headed Self Attention module.
class
timm.models.fastvit.ConvMlpConvolutional FFN Module.
class
timm.models.fastvit.MobileOneBlockMobileOne building block.
method
timm.models.fastvit.MobileOneBlock.forward(x:torch.Tensor) -> torch.TensorApply forward pass.
class
timm.models.fastvit.PatchEmbedConvolutional patch embedding layer.
class
timm.models.fastvit.RepConditionalPosEncImplementation of conditional positional encoding.
class
timm.models.fastvit.RepMixerReparameterizable token mixer.
func
timm.models.fastvit.fastvit_mci3(pretrained=False, **kwargs)Instantiate L model variant.
func
timm.models.fastvit.fastvit_mci4(pretrained=False, **kwargs)Instantiate XL model variant.
class
timm.models.focalnet.FocalNet" Focal Modulation Networks (FocalNets)
class
timm.models.focalnet.FocalNetBlockFocal Modulation Network Block.
class
timm.models.focalnet.FocalNetStageA basic Focal Transformer layer for one stage.
class
timm.models.gemma4_vit.Gemma4ClippableLinearLinear layer with optional input/output clamping.
class
timm.models.gemma4_vit.Gemma4GatedMlpGated MLP for Gemma4 Vision Encoder.
class
timm.models.gemma4_vit.Gemma4VisionPoolerSpatial pooling for Gemma4 vision encoder output.
class
timm.models.gemma4_vit.Gemma4VitClassifierClassification wrapper around ``Gemma4VitEncoder``.
method
timm.models.gemma4_vit.Gemma4VitClassifier.forward_features(x:Union[torch.Tensor, Dict[str, torch.Tensor]], patch_coord:Optional[torch.Tensor]=None, patch_valid:Optional[torch.Tensor]=None) -> torch.TensorPre-head features.
method
timm.models.gemma4_vit.Gemma4VitClassifier.get_patch_size() -> Tuple[int, int]Return the 2-tuple patch size.
class
timm.models.gemma4_vit.Gemma4VitEncoderGemma4 Vision Encoder.
method
timm.models.gemma4_vit.Gemma4VitEncoder.forward_features(x:Union[torch.Tensor, Dict[str, torch.Tensor]], patch_coord:Optional[torch.Tensor]=None, patch_valid:Optional[torch.Tensor]=None) -> torch.TensorRaw patch tokens pre-pool.
method
timm.models.gemma4_vit.Gemma4VitEncoder.get_patch_size() -> Tuple[int, int]Return the 2-tuple patch size.
method
timm.models.gemma4_vit.Gemma4VitEncoder.init_weights(mode:str='', needs_reset:bool=True) -> NoneInitialize model weights.
method
timm.models.gemma4_vit.Gemma4VitEncoder.set_clamp_enabled(enabled:bool=True) -> NoneToggle the ``Gemma4ClippableLinear`` clamp ops.
func
timm.models.gemma4_vit.apply_rotary_pos_emb(x:torch.Tensor, cos:torch.Tensor, sin:torch.Tensor, unsqueeze_dim:int=2) -> torch.TensorApply rotary position embedding to input tensor.
func
timm.models.gemma4_vit.gemma4_vit_167m(pretrained:bool=False, **kwargs) -> Gemma4VitClassifierGemma4 ~167M (E2B/E4B vision tower) classifier.
func
timm.models.gemma4_vit.gemma4_vit_570m(pretrained:bool=False, **kwargs) -> Gemma4VitClassifierGemma4 ~570M (26B/31B vision tower) classifier.
func
timm.models.gemma4_vit.rotate_half(x:torch.Tensor) -> torch.TensorRotates half the hidden dims of the input.
class
timm.models.ghostnet.GhostBottleneckGhostV1/V2 bottleneck w/ optional SE
class
timm.models.ghostnet.GhostBottleneckV3GhostV3 bottleneck w/ optional SE
func
timm.models.ghostnet.ghostnet_050(pretrained=False, **kwargs) -> GhostNetGhostNet-0.5x
func
timm.models.ghostnet.ghostnet_100(pretrained=False, **kwargs) -> GhostNetGhostNet-1.0x
func
timm.models.ghostnet.ghostnet_130(pretrained=False, **kwargs) -> GhostNetGhostNet-1.3x
func
timm.models.ghostnet.ghostnetv2_100(pretrained=False, **kwargs) -> GhostNetGhostNetV2-1.0x
func
timm.models.ghostnet.ghostnetv2_130(pretrained=False, **kwargs) -> GhostNetGhostNetV2-1.3x
func
timm.models.ghostnet.ghostnetv2_160(pretrained=False, **kwargs) -> GhostNetGhostNetV2-1.6x
func
timm.models.ghostnet.ghostnetv3_050(pretrained:bool=False, **kwargs:Any) -> GhostNetGhostNetV3-0.5x
func
timm.models.ghostnet.ghostnetv3_100(pretrained:bool=False, **kwargs:Any) -> GhostNetGhostNetV3-1.0x
func
timm.models.ghostnet.ghostnetv3_130(pretrained:bool=False, **kwargs:Any) -> GhostNetGhostNetV3-1.3x
func
timm.models.ghostnet.ghostnetv3_160(pretrained:bool=False, **kwargs:Any) -> GhostNetGhostNetV3-1.6x
func
timm.models.hardcorenas.hardcorenas_a(pretrained=False, **kwargs) -> MobileNetV3hardcorenas_A
func
timm.models.hardcorenas.hardcorenas_b(pretrained=False, **kwargs) -> MobileNetV3hardcorenas_B
func
timm.models.hardcorenas.hardcorenas_c(pretrained=False, **kwargs) -> MobileNetV3hardcorenas_C
func
timm.models.hardcorenas.hardcorenas_d(pretrained=False, **kwargs) -> MobileNetV3hardcorenas_D
func
timm.models.hardcorenas.hardcorenas_e(pretrained=False, **kwargs) -> MobileNetV3hardcorenas_E
func
timm.models.hardcorenas.hardcorenas_f(pretrained=False, **kwargs) -> MobileNetV3hardcorenas_F
class
timm.models.hiera.MaskUnitAttentionComputes either Mask Unit or Global Attention.
method
timm.models.hiera.MaskUnitAttention.forward(x:torch.Tensor) -> torch.TensorInput should be of shape [batch, tokens, channels].
func
timm.models.hiera.conv_nd(n:int) -> Type[nn.Module]Returns a conv with nd (e.g., Conv2d for n=2).
class
timm.models.hieradet_sam2.HieraDetReference: https://arxiv.org/abs/2306.00989
class
timm.models.hieradet_sam2.HieraPatchEmbedImage to Patch Embedding.
class
timm.models.inception_next.InceptionDWConv2dInception depthwise convolution
class
timm.models.inception_next.MlpClassifierHeadMLP classification head
class
timm.models.inception_v3.InceptionV3Inception-V3
method
timm.models.levit.Attention.init_non_persistent_buffers() -> NoneInitialize non-persistent buffers.
method
timm.models.levit.Attention.reset_parameters() -> NoneInitialize parameters and buffers.
class
timm.models.mambaout.MlpHeadMLP classification head
class
timm.models.maxxvit.Attention2dMulti-head attention for 2D NCHW tensors.
class
timm.models.maxxvit.AttentionClChannels-last multi-head attention (B, ..., C).
class
timm.models.maxxvit.ConvNeXtBlockConvNeXt Block.
class
timm.models.maxxvit.MaxxVitCoaTNet + MaxVit base model.
class
timm.models.maxxvit.MaxxVitCfgConfiguration for MaxxVit models.
class
timm.models.maxxvit.MaxxVitConvCfgConfiguration for MaxxVit convolution blocks.
class
timm.models.maxxvit.MaxxVitTransformerCfgConfiguration for MaxxVit transformer blocks.
class
timm.models.maxxvit.ParallelPartitionAttentionExperimental.
class
timm.models.maxxvit.PartitionAttention2dGrid or Block partition + Attn + FFN.
class
timm.models.maxxvit.PartitionAttentionClGrid or Block partition + Attn + FFN.
class
timm.models.maxxvit.StemStem layer for feature extraction.
class
timm.models.maxxvit.TransformerBlock2dTransformer block with 2D downsampling.
func
timm.models.maxxvit.checkpoint_filter_fn(state_dict:Dict[str, torch.Tensor], model:nn.Module) -> Dict[str, torch.Tensor]Filter checkpoint state dict for compatibility.
func
timm.models.maxxvit.coatnet_0_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-0 model.
func
timm.models.maxxvit.coatnet_0_rw_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-0 model with RW configuration.
func
timm.models.maxxvit.coatnet_1_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-1 model.
func
timm.models.maxxvit.coatnet_1_rw_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-1 model with RW configuration.
func
timm.models.maxxvit.coatnet_2_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-2 model.
func
timm.models.maxxvit.coatnet_2_rw_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-2 model with RW configuration.
func
timm.models.maxxvit.coatnet_3_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-3 model.
func
timm.models.maxxvit.coatnet_3_rw_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-3 model with RW configuration.
func
timm.models.maxxvit.coatnet_4_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-4 model.
func
timm.models.maxxvit.coatnet_5_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-5 model.
func
timm.models.maxxvit.coatnet_bn_0_rw_224(pretrained:bool=False, **kwargs:Any) -> MaxxVitCoatNet-0 model with BatchNorm and RW configuration.
About this data
These signatures were extracted from the public source of huggingface/pytorch-image-models
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.