| 6 | namespace test { |
| 7 | |
| 8 | TEST_F(FALLBACK, RESIZE_CV) { |
| 9 | using namespace resize; |
| 10 | std::vector<TestArg> args = get_cv_args(); |
| 11 | Checker<Resize> checker(handle()); |
| 12 | |
| 13 | for (auto&& arg : args) { |
| 14 | checker.set_param(arg.param) |
| 15 | .set_dtype(0, dtype::Uint8()) |
| 16 | .set_dtype(1, dtype::Uint8()) |
| 17 | .set_epsilon(1 + 1e-3) |
| 18 | .execs({arg.src, arg.dst}); |
| 19 | } |
| 20 | |
| 21 | for (auto&& arg : args) { |
| 22 | checker.set_param(arg.param) |
| 23 | .set_dtype(0, dtype::Float32()) |
| 24 | .set_dtype(1, dtype::Float32()) |
| 25 | .execs({arg.src, arg.dst}); |
| 26 | } |
| 27 | } |
| 28 | TEST_F(FALLBACK, RESIZE_CV_RECORD) { |
| 29 | using namespace resize; |
| 30 | std::vector<TestArg> args = get_cv_args(); |
nothing calls this directly
no test coverage detected