| 9 | namespace test { |
| 10 | |
| 11 | TEST_F(CUDA, DCT) { |
| 12 | DctChannelSelectForward::Param param; |
| 13 | Checker<DctChannelSelectForward> checker(handle_cuda()); |
| 14 | for (size_t n : {1, 3}) { |
| 15 | for (size_t ic : {1, 3}) { |
| 16 | for (size_t ih : {8, 16, 32, 512, 1024}) { |
| 17 | for (size_t iw : {8, 16, 32, 64, 128, 256, 512, 1024}) { |
| 18 | checker.set_param(param) |
| 19 | .set_dtype(0, dtype::Uint8()) |
| 20 | .set_dtype(1, dtype::Int32()) |
| 21 | .set_dtype(2, dtype::Int32()) |
| 22 | .execs({TensorShape{n, ic, ih, iw}, {}, {}, {}}); |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | TEST_F(CUDA, DCT_QINT8) { |
| 30 | DctChannelSelectForward::Param param; |
nothing calls this directly
no test coverage detected