↓ 4 callersMethod__init__(self,
dim,
order=5,
dw_cfg=dict(type='DW', kernel_size=7),
mmpretrain/models/backbones/hornet.py:146
↓ 4 callersFunctionattention_poolPooling the feature tokens. Args: x (torch.Tensor): The input tensor, should be with shape ``(B, num_heads, L, C)`` or ``(B,
mmpretrain/models/backbones/mvit.py:123
↓ 4 callersFunctionbbox2distanceDecode bounding box based on distances. Args: points (Tensor): Shape (n, 2) or (b, n, 2), [x, y]. bbox (Tensor): Shape (n, 4) or
mmdet/structures/bbox/transforms.py:206