↓ 6 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
downstream/detection/mmdet/models/backbones/swin_bsl.py:19
↓ 6 callersMethod__init__(self,
in_channels=3,
embed_dims=[64, 128, 256],
patch_size
downstream/segmentation/mmseg/models/backbones/twins.py:547
↓ 5 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
downstream/detection/mmdet/models/backbones/agent_pvt.py:18
↓ 5 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
downstream/segmentation/mmseg/models/backbones/agent_pvt.py:18
↓ 5 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
agent_transformer/models/agent_pvt.py:22
↓ 5 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
agent_transformer/models/agent_cswin.py:48
↓ 4 callersMethod__init__(self, low_in_channels, high_in_channels, channels,
out_channels, query_scales, key_pool_scal
downstream/segmentation/mmseg/models/decode_heads/ann_head.py:100
↓ 4 callersFunctionagentv5_sra_flops(h, w, r, dim, group_size, downstream_agent_shape, attn_type)
downstream/detection/tools/analysis_tools/get_flops.py:57
↓ 4 callersFunctionagentv5_sra_flops(h, w, r, dim, group_size, downstream_agent_shape, attn_type)
downstream/segmentation/tools/get_flops.py:39
↓ 4 callersFunctionnlc_to_nchwConvert [N, L, C] shape tensor to [N, C, H, W] shape tensor. Args: x (Tensor): The input tensor of shape [N, L, C] before conversion.
downstream/detection/mmdet/models/utils/transformer.py:32
↓ 4 callersFunctionnlc_to_nchwConvert [N, L, C] shape tensor to [N, C, H, W] shape tensor. Args: x (Tensor): The input tensor of shape [N, L, C] before conversion.
downstream/segmentation/mmseg/models/utils/shape_convert.py:2