↓ 7 callersFunction_dm_nfnet_cfg(
depths,
channels=(256, 512, 1536, 1536),
act_layer='gelu',
skipinit=True,
)
timm_modified/timm/models/nfnet.py:526
↓ 7 callersFunctionpad_same(
x,
kernel_size: List[int],
stride: List[int],
dilation: List[int] = (1, 1),
timm_modified/timm/layers/padding.py:45
↓ 6 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
src/openmatch/modeling/modeling_minicpmv/modeling_minicpm.py:338
↓ 5 callersMethod__init__(
self, channels, rd_ratio=1./16, rd_channels=None, rd_divisor=1,
spatial_kernel_size=
timm_modified/timm/layers/cbam.py:83
↓ 5 callersMethod__init__(self, channels, eps=1e-6, affine=True, device=None, dtype=None)
timm_modified/timm/layers/norm.py:130
↓ 5 callersMethod__init__(
self, in_chs, out_chs, kernel_size, stride=1, dilation=1, group_size=0, pad_type='',
timm_modified/timm/models/_efficientnet_blocks.py:61
↓ 5 callersMethod__init__(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768, norm_layer=None)
timm_modified/timm/models/swin_transformer_v2_cr.py:417