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

Class PatchMerging

mmdet/models/utils/transformer.py:260–385  ·  view source on GitHub ↗

Merge patch feature map. This layer groups feature map by kernel_size, and applies norm and linear layers to the grouped feature map. Our implementation uses `nn.Unfold` to merge patch, which is about 25% faster than original implementation. Instead, we need to modify pretrained mod

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test_patch_mergingFunction · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

test_patch_mergingFunction · 0.72