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

Class AdaptivePadding

mmdet/models/utils/transformer.py:62–131  ·  view source on GitHub ↗

Applies padding to input (if needed) so that input can get fully covered by filter you specified. It support two modes "same" and "corner". The "same" mode is same with "SAME" padding mode in TensorFlow, pad zero around input. The "corner" mode would pad zero to bottom right. Args:

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

test_adaptive_paddingFunction · 0.90
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

test_adaptive_paddingFunction · 0.72