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

Function make_divisible

mmdet/models/utils/make_divisible.py:2–28  ·  view source on GitHub ↗

Make divisible function. This function rounds the channel number to the nearest value that can be divisible by the divisor. It is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by divisor. It can be seen here: https://github.com/t

(value, divisor, min_value=None, min_ratio=0.9)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

model_scalingFunction · 0.85
__init__Method · 0.85
make_layerMethod · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected