| 10 | using Mode = param::CvtColor::Mode; |
| 11 | |
| 12 | TEST_F(ARM_COMMON, CVTCOLOR) { |
| 13 | using namespace cvt_color; |
| 14 | std::vector<TestArg> args = get_args(); |
| 15 | Checker<CvtColor> checker(handle()); |
| 16 | |
| 17 | for (auto&& arg : args) { |
| 18 | checker.set_param(arg.param) |
| 19 | .set_dtype(0, arg.dtype) |
| 20 | .set_dtype(1, arg.dtype) |
| 21 | .execs({arg.src, {}}); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | #if MEGDNN_WITH_BENCHMARK |
| 26 | TEST_F(ARM_COMMON, BENCHMARK_CVTCOLOR_RGB2GRAY) { |