MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / WindowMSA

Class WindowMSA

mmdet/models/backbones/swin.py:22–125  ·  view source on GitHub ↗

Window based multi-head self-attention (W-MSA) module with relative position bias. Args: embed_dims (int): Number of input channels. num_heads (int): Number of attention heads. window_size (tuple[int]): The height and width of the window. qkv_bias (bool, opti

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected