| 5579 | using conblock = relu<bn_con<add_layer<con_<16, 3, 3, 2, 2, 1, 1>, SUBNET>>>; |
| 5580 | |
| 5581 | void test_input_ouput_mappers() |
| 5582 | { |
| 5583 | using net_type = loss_binary_log_per_pixel<con<1, 1, 1, 1, 1,repeat<3, conblock, tag1<input_rgb_image>>>>; |
| 5584 | net_type net; |
| 5585 | point p(32, 32); |
| 5586 | DLIB_TEST(input_tensor_to_output_tensor(net, p) == p / 8); |
| 5587 | DLIB_TEST(output_tensor_to_input_tensor(net, p) == p * 8); |
| 5588 | } |
| 5589 | |
| 5590 | // ---------------------------------------------------------------------------------------- |
| 5591 |
no test coverage detected