MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / TEST_F

Function TEST_F

dnn/test/cpu/convolution.cpp:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19#define CONVOLUTION_ARG_DIV_SIZE 100
20TEST_F(CPU, CONVOLUTION_0) {
21 using namespace convolution;
22 std::vector<TestArg> args = get_args();
23 auto loop_size = args.size();
24 ASSERT_GT(loop_size, CONVOLUTION_ARG_DIV_SIZE);
25 Checker<Convolution> checker(handle());
26 for (unsigned int i = 0; i < CONVOLUTION_ARG_DIV_SIZE; i++) {
27 checker.set_param(args[i].param).execs({args[i].src, args[i].filter, {}});
28 }
29}
30
31#define CONVOLUTION1_ARG_LOOP_END_TIME (CONVOLUTION_ARG_DIV_SIZE + 205)
32

Callers

nothing calls this directly

Calls 10

set_dtypeMethod · 0.80
gconv_paramFunction · 0.70
get_argsFunction · 0.50
runFunction · 0.50
sizeMethod · 0.45
execsMethod · 0.45
push_backMethod · 0.45
execMethod · 0.45
getMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected