| 48 | } |
| 49 | |
| 50 | static 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 | |
| 58 | VARP resNetExpr(ResNetType resNetType, int numClass) { |
| 59 | std::vector<int> numbers; |
no test coverage detected