MCPcopy Create free account
hub / github.com/alibaba/MNN / convBlocTemp

Function convBlocTemp

test/expr/ModuleTest.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 return x;
33}
34static VARP convBlocTemp(VARP x, INTS channels, int stride) {
35 int inputChannel = channels[0], outputChannel = channels[1];
36 int group = inputChannel;
37 x = _Conv(0.002f, 0.0f, x, {inputChannel, inputChannel}, {3, 3}, SAME, {stride, stride}, {1, 1}, inputChannel);
38 x = _Conv(0.05f, 0.0f, x, {inputChannel, outputChannel}, {1, 1}, SAME, {1, 1}, {1, 1}, 1);
39 return x;
40}
41static VARP _mobileNetV1Expr(VARP x = nullptr, bool softmax = true) {
42 int inputSize = 224, poolSize; // MobileNet_224, MobileNet_192, MobileNet_160, MobileNet_128
43 {

Callers 2

_mobileNetV1ExprFunction · 0.85
_mobileNetV1ExprMethod · 0.85

Calls 1

_ConvFunction · 0.50

Tested by

no test coverage detected