| 14 | namespace test { |
| 15 | |
| 16 | TEST_F(X86, CONV_BIAS_FORWARD) { |
| 17 | using namespace conv_bias; |
| 18 | std::vector<TestArg> args = get_args(); |
| 19 | Checker<ConvBiasForward> checker(handle()); |
| 20 | NormalRNG default_rng; |
| 21 | ConstValue const_val; |
| 22 | for (auto&& arg : args) { |
| 23 | checker.set_dtype(0, dtype::Float32()) |
| 24 | .set_dtype(1, dtype::Float32()) |
| 25 | .set_dtype(2, dtype::Float32()) |
| 26 | .set_rng(0, &default_rng) |
| 27 | .set_rng(1, &default_rng) |
| 28 | .set_rng(2, &default_rng) |
| 29 | .set_epsilon(1e-3) |
| 30 | .set_param(arg.param) |
| 31 | .execs({arg.src, arg.filter, arg.bias, {}, {}}); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | TEST_F(X86, CONV_BIAS_FORWARD_RECORD) { |
| 36 | using namespace conv_bias; |
nothing calls this directly
no test coverage detected