MCPcopy Create free account

hub / github.com/SLDGroup/MERIT / types & classes

Types & classes209 in github.com/SLDGroup/MERIT

↓ 38 callersClassMaxxVitCfg
lib/maxxvit_4out.py:227
↓ 38 callersClassMaxxVitCfg
lib/models_timm/maxxvit.py:226
↓ 28 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
lib/models_timm/layers/drop.py:157
↓ 11 callersClassMaxxVitTransformerCfg
lib/maxxvit_4out.py:162
↓ 11 callersClassMaxxVitTransformerCfg
lib/models_timm/maxxvit.py:161
↓ 9 callersClassMaxxVitConvCfg
lib/maxxvit_4out.py:192
↓ 9 callersClassMaxxVitConvCfg
lib/models_timm/maxxvit.py:191
↓ 8 callersClassChannelAttention
lib/decoders.py:67
↓ 8 callersClassconv_block
lib/decoders.py:6
↓ 7 callersClassConvMlp
MLP using 1x1 convs that keeps spatial dims
lib/models_timm/layers/mlp.py:103
↓ 7 callersClassMlp
MLP as used in Vision Transformer, MLP-Mixer and related networks
lib/models_timm/layers/mlp.py:10
↓ 6 callersClassAttention_block
lib/decoders.py:38
↓ 6 callersClassCASCADE_Add
lib/decoders.py:188
↓ 6 callersClassCASCADE_Cat
lib/decoders.py:107
↓ 6 callersClassConvNormAct
lib/models_timm/layers/conv_bn_act.py:12
↓ 6 callersClassDownsample2d
A downsample pooling module supporting several maxpool and avgpool modes * 'max' - MaxPool2d w/ kernel_size 3, stride 2, padding 1 * 'max2' -
lib/maxxvit_4out.py:801
↓ 6 callersClassDownsample2d
A downsample pooling module supporting several maxpool and avgpool modes * 'max' - MaxPool2d w/ kernel_size 3, stride 2, padding 1 * 'max2' -
lib/models_timm/maxxvit.py:800
↓ 6 callersClassup_conv
lib/decoders.py:23
↓ 5 callersClassLayerScale
lib/maxxvit_4out.py:779
↓ 5 callersClassLayerScale
lib/models_timm/maxxvit.py:778
↓ 5 callersClassLayerScale2d
lib/maxxvit_4out.py:790
↓ 5 callersClassLayerScale2d
lib/models_timm/maxxvit.py:789
↓ 5 callersClassNormLinear
lib/models_timm/levit.py:175
↓ 4 callersClassACDCdataset
utils/dataset_ACDC.py:51
↓ 4 callersClassConvNorm
lib/models_timm/levit.py:127
↓ 4 callersClassMERIT_Cascaded
lib/networks.py:514
↓ 3 callersClassAttentionCl
Channels-last multi-head attention (B, ..., C)
lib/maxxvit_4out.py:732
↓ 3 callersClassAttentionCl
Channels-last multi-head attention (B, ..., C)
lib/models_timm/maxxvit.py:731
↓ 3 callersClassClassifierHead
Classifier head w/ configurable global pooling and dropout.
lib/models_timm/layers/classifier.py:38
↓ 3 callersClassMLDecoder
lib/models_timm/layers/ml_decoder.py:103
↓ 3 callersClassResidual
lib/models_timm/levit.py:212
↓ 3 callersClassSelectAdaptivePool2d
Selectable global pooling layer with dynamic input kernel size
lib/models_timm/layers/adaptive_avgmax_pool.py:79
↓ 2 callersClassAttention2d
multi-head attention for 2D NCHW tensors
lib/maxxvit_4out.py:687
↓ 2 callersClassAttention2d
multi-head attention for 2D NCHW tensors
lib/models_timm/maxxvit.py:686
↓ 2 callersClassDiceLoss
utils/utils.py:106
↓ 2 callersClassFeatureInfo
lib/models_timm/features.py:20
↓ 2 callersClassLayerScale
lib/models_timm/vision_transformer_relpos.py:270
↓ 2 callersClassRelPosAttention
lib/models_timm/vision_transformer_relpos.py:237
↓ 2 callersClassSpatialAttention
lib/decoders.py:90
↓ 2 callersClassSynapse_dataset
utils/dataset_synapse.py:50
↓ 1 callersClassAdaptiveAvgMaxPool2d
lib/models_timm/layers/adaptive_avgmax_pool.py:61
↓ 1 callersClassAdaptiveCatAvgMaxPool2d
lib/models_timm/layers/adaptive_avgmax_pool.py:70
↓ 1 callersClassAttention
lib/models_timm/levit.py:238
↓ 1 callersClassAttentionSubsample
lib/models_timm/levit.py:307
↓ 1 callersClassAvgPool2dSame
Tensorflow like 'SAME' wrapper for 2D average pooling
lib/models_timm/layers/pool2d_same.py:21
↓ 1 callersClassBatchNormAct2d
BatchNorm + Activation This module performs BatchNorm + Activation in a manner that will remain backwards compatible with weights trained wit
lib/models_timm/layers/norm_act.py:26
↓ 1 callersClassBilinearAttnTransform
lib/models_timm/layers/non_local_attn.py:72
↓ 1 callersClassChannelAttn
Original CBAM channel attention module, currently avg + max pool variant only.
lib/models_timm/layers/cbam.py:19
↓ 1 callersClassCondConv2d
Conditionally Parameterized Convolution Inspired by: https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/condconv/condconv
lib/models_timm/layers/cond_conv2d.py:34
↓ 1 callersClassConv2dSame
Tensorflow like 'SAME' convolution wrapper for 2D convolutions
lib/models_timm/layers/conv2d_same.py:20
↓ 1 callersClassConvNeXtBlock
ConvNeXt Block There are two equivalent implementations: (1) DwConv -> LayerNorm (channels_first) -> 1x1 Conv -> GELU -> 1x1 Conv; all in (
lib/models_timm/convnext.py:129
↓ 1 callersClassConvNeXtStage
lib/models_timm/convnext.py:193
↓ 1 callersClassConvNormActAa
lib/models_timm/layers/conv_bn_act.py:58
↓ 1 callersClassFastAdaptiveAvgPool2d
lib/models_timm/layers/adaptive_avgmax_pool.py:52
↓ 1 callersClassFeatureHooks
Feature Hook Helper This module helps with the setup and extraction of hooks for extracting features from internal nodes in a model by node
lib/models_timm/features.py:84
↓ 1 callersClassGroupFC
lib/models_timm/layers/ml_decoder.py:92
↓ 1 callersClassLightChannelAttn
An experimental 'lightweight' that sums avg + max pool first
lib/models_timm/layers/cbam.py:39
↓ 1 callersClassLightSpatialAttn
An experimental 'lightweight' variant that sums avg_pool and max_pool results.
lib/models_timm/layers/cbam.py:68
↓ 1 callersClassLinear
r"""Applies a linear transformation to the incoming data: :math:`y = xA^T + b` Wraps torch.nn.Linear to support AMP + torchscript usage by manual
lib/models_timm/layers/linear.py:8
↓ 1 callersClassMERIT_Cascaded_Small
lib/networks.py:727
↓ 1 callersClassMaxPool2dSame
Tensorflow like 'SAME' wrapper for 2D max pooling
lib/models_timm/layers/pool2d_same.py:42
↓ 1 callersClassMaxxVitBlock
MaxVit conv, window partition + FFN , grid partition + FFN
lib/maxxvit_4out.py:1405
↓ 1 callersClassMaxxVitBlock
MaxVit conv, window partition + FFN , grid partition + FFN
lib/models_timm/maxxvit.py:1404
↓ 1 callersClassMaxxVitStage
lib/maxxvit_4out.py:1486
↓ 1 callersClassMaxxVitStage
lib/models_timm/maxxvit.py:1485
↓ 1 callersClassMixedConv2d
Mixed Grouped Convolution Based on MDConv and GroupedConv in MixNet impl: https://github.com/tensorflow/tpu/blob/master/models/official/mn
lib/models_timm/layers/mixed_conv2d.py:20
↓ 1 callersClassParallelMaxxVitBlock
MaxVit block with parallel cat(window + grid), one FF Experimental timm block.
lib/maxxvit_4out.py:1448
↓ 1 callersClassParallelMaxxVitBlock
MaxVit block with parallel cat(window + grid), one FF Experimental timm block.
lib/models_timm/maxxvit.py:1447
↓ 1 callersClassParallelPartitionAttention
Experimental. Grid and Block partition + single FFN NxC tensor layout.
lib/maxxvit_4out.py:1234
↓ 1 callersClassParallelPartitionAttention
Experimental. Grid and Block partition + single FFN NxC tensor layout.
lib/models_timm/maxxvit.py:1233
↓ 1 callersClassPatchEmbed
2D Image to Patch Embedding
lib/models_timm/layers/patch_embed.py:15
↓ 1 callersClassPosEmbedRel
Relative Position Embedding As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from: `Attention Augm
lib/models_timm/layers/bottleneck_attn.py:56
↓ 1 callersClassPosEmbedRel
Relative Position Embedding As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from: `Attention Augm
lib/models_timm/layers/halo_attn.py:61
↓ 1 callersClassRadixSoftmax
lib/models_timm/layers/split_attn.py:16
↓ 1 callersClassRandomGenerator
utils/dataset_ACDC.py:30
↓ 1 callersClassRandomGenerator
utils/dataset_synapse.py:29
↓ 1 callersClassRotaryEmbedding
Rotary position embedding NOTE: This is my initial attempt at impl rotary embedding for spatial use, it has not been well tested, and will l
lib/models_timm/layers/pos_embed.py:186
↓ 1 callersClassSelectiveKernelAttn
lib/models_timm/layers/selective_kernel.py:22
↓ 1 callersClassSpaceToDepth
lib/models_timm/layers/space_to_depth.py:5
↓ 1 callersClassSpaceToDepthJit
lib/models_timm/layers/space_to_depth.py:20
↓ 1 callersClassSpatialAttn
Original CBAM spatial attention module
lib/models_timm/layers/cbam.py:54
↓ 1 callersClassSplitBatchNorm2d
lib/models_timm/layers/split_batchnorm.py:18
↓ 1 callersClassStem
lib/maxxvit_4out.py:1555
↓ 1 callersClassStem
lib/models_timm/maxxvit.py:1554
↓ 1 callersClassSyncBatchNormAct
lib/models_timm/layers/norm_act.py:116
↓ 1 callersClassTestTimePoolHead
lib/models_timm/layers/test_time_pool.py:16
↓ 1 callersClassTransformerBlock2d
Transformer block with 2D downsampling '2D' NCHW tensor layout Some gains can be seen on GPU using a 1D / CL block, BUT w/ the need to switc
lib/maxxvit_4out.py:862
↓ 1 callersClassTransformerBlock2d
Transformer block with 2D downsampling '2D' NCHW tensor layout Some gains can be seen on GPU using a 1D / CL block, BUT w/ the need to switc
lib/models_timm/maxxvit.py:861
↓ 1 callersClassTransformerDecoderLayerOptimal
lib/models_timm/layers/ml_decoder.py:35
↓ 1 callersClassset_layer_config
Layer config context manager that allows setting all layer config flags at once. If a flag arg is None, it will not change the current value.
lib/models_timm/layers/config.py:82
ClassAffine
lib/models_timm/mlp_mixer.py:167
ClassAttentionPool2d
Attention based 2D feature pooling w/ learned (absolute) pos embedding. This is a multi-head attention based replacement for (spatial) average po
lib/models_timm/layers/attention_pool2d.py:79
ClassAvgMeter
utils/utils.py:52
ClassBatNonLocalAttn
BAT Adapted from: https://github.com/BA-Transform/BAT-Image-Classification
lib/models_timm/layers/non_local_attn.py:124
ClassBlurPool2d
r"""Creates a module that computes blurs and downsample a given feature map. See :cite:`zhang2019shiftinvar` for more details. Corresponds to
lib/models_timm/layers/blur_pool.py:16
ClassBottleneckAttn
Bottleneck Attention Paper: `Bottleneck Transformers for Visual Recognition` - https://arxiv.org/abs/2101.11605 The internal dimensions of t
lib/models_timm/layers/bottleneck_attn.py:84
ClassCbamModule
lib/models_timm/layers/cbam.py:82
ClassCecaModule
Constructs a circular ECA module. ECA module where the conv uses circular padding rather than zero padding. Unlike the spatial dimension, the
lib/models_timm/layers/eca.py:97
ClassConvNeXt
r""" ConvNeXt A PyTorch impl of : `A ConvNet for the 2020s` - https://arxiv.org/pdf/2201.03545.pdf Args: in_chans (int): Number
lib/models_timm/convnext.py:254
ClassConvNeXtBlock
ConvNeXt Block
lib/maxxvit_4out.py:1049
next →1–100 of 209, ranked by callers