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

Function TEST_F

dnn/test/cpu/local.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace test {
10
11TEST_F(CPU, LOCAL) {
12 auto args = local::get_args();
13 for (auto&& arg : args) {
14 Checker<Local> checker(handle());
15 checker.set_param(arg.param).exec(
16 TensorShapeArray{arg.sshape(), arg.fshape(), arg.dshape()});
17 }
18}
19
20#if MEGDNN_WITH_BENCHMARK
21TEST_F(CPU, BENCHMARK_LOCAL) {

Callers

nothing calls this directly

Calls 11

get_argsFunction · 0.50
execMethod · 0.45
sshapeMethod · 0.45
fshapeMethod · 0.45
dshapeMethod · 0.45
sizeMethod · 0.45
startMethod · 0.45
dataMethod · 0.45
stopMethod · 0.45
get_time_in_usMethod · 0.45
total_nr_elemsMethod · 0.45

Tested by

no test coverage detected