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

Function TEST_F

dnn/test/fallback/relayout.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21} // namespace
22
23TEST_F(FALLBACK, RELAYOUT_CONTINUE) {
24 Checker<Relayout> checker(handle());
25 checker.set_dtype(0, dtype::Int32());
26 checker.set_dtype(1, dtype::Int32());
27 checker.exec({{2, 2, 2}, {2, 2, 2}});
28}
29
30TEST_F(FALLBACK, RELAYOUT_RECORD) {
31 TaskRecordChecker<Relayout> checker(1);

Callers

nothing calls this directly

Calls 15

clockClass · 0.85
swapFunction · 0.85
set_dtypeMethod · 0.80
spanMethod · 0.80
dist_byteMethod · 0.80
collapse_contiguousMethod · 0.80
runFunction · 0.50
execMethod · 0.45
execlMethod · 0.45
execsMethod · 0.45
tensorndMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected