MCPcopy Create free account
hub / github.com/HXMap/HRMapNet / PatchMerging

Class PatchMerging

projects/mmdet3d_plugin/models/backbones/swin.py:25–91  ·  view source on GitHub ↗

Merge patch feature map. This layer use nn.Unfold to group feature map by kernel_size, and use norm and linear layer to embed grouped feature map. Args: in_channels (int): The num of input channels. out_channels (int): The num of output channels. stride (int | tu

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