tests: Add im2col perf tests
This commit is contained in:
parent
e34c5af43f
commit
207449810e
1 changed files with 12 additions and 0 deletions
|
@ -3945,6 +3945,18 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_perf() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (int K : {3, 5}) {
|
||||||
|
for (int IC : {256, 2560}) {
|
||||||
|
for (int IW_IH : {32, 64, 256}) {
|
||||||
|
if (IC == 2560 && IW_IH == 256) {
|
||||||
|
// too big
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F32, {IW_IH, IW_IH, IC, 1}, {K, K, IC, 1}, 1, 1, 1, 1, 1, 1, true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return test_cases;
|
return test_cases;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue