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

Function bottleNeckBlock

benchmark/exprModels/ResNetExpr.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static VARP bottleNeckBlock(VARP x, INTS channels, int stride, int number) {
51 x = bottleNeck(x, {channels[0], channels[1], channels[2]}, stride);
52 for (int i = 1; i < number; ++i) {
53 x = bottleNeck(x, {channels[2], channels[1], channels[2]}, 1);
54 }
55 return x;
56}
57
58VARP resNetExpr(ResNetType resNetType, int numClass) {
59 std::vector<int> numbers;

Callers 1

resNetExprFunction · 0.70

Calls 1

bottleNeckFunction · 0.70

Tested by

no test coverage detected