MCPcopy Create free account
hub / github.com/davisking/dlib / run_tests

Method run_tests

dlib/test/dnn.cpp:5808–5923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5806 {}
5807
5808 void run_tests (
5809 )
5810 {
5811 // make the tests repeatable
5812 srand(1234);
5813
5814 test_tagging();
5815 IF_DLIB_USE_CUDA(
5816 test_affine_rect();
5817 test_conv();
5818 test_more_ops2();
5819 test_more_ops(1,1);
5820 test_more_ops(3,4);
5821 test_more_ops(4,3);
5822 test_more_ops(4,1);
5823 test_more_ops(1,4);
5824 test_more_ops(10000,4);
5825 compare_bn_gpu_and_cpu();
5826 compare_bn_conv_gpu_and_cpu();
5827 test_add();
5828 test_multiply_zero_padded();
5829 compare_adam();
5830 test_copy_tensor_gpu();
5831 test_copy_tensor_add_to_gpu();
5832 test_copy_tensor_gpu();
5833 test_copy_tensor_add_to_gpu();
5834 test_scale_channels();
5835 )
5836
5837 test_tensor_resize_bilinear(2, 3, 6,6, 11, 11);
5838 test_tensor_resize_bilinear(2, 3, 6,6, 3, 4);
5839 test_tensor_resize_bilinear(2, 3, 5,6, 12, 21);
5840 test_max_pool(1,1,2,3,0,0);
5841 test_max_pool(3,3,1,1,0,0);
5842 test_max_pool(3,3,2,2,0,0);
5843 test_max_pool(2,2,2,2,0,0);
5844 test_max_pool(4,5,3,1,0,0);
5845 test_avg_pool(1,1,2,3,0,0);
5846 test_avg_pool(3,3,1,1,0,0);
5847 test_avg_pool(3,3,2,2,0,0);
5848 test_avg_pool(2,2,2,2,0,0);
5849 test_avg_pool(4,5,3,1,0,0);
5850 test_avg_pool(4,4,2,2,0,0);
5851 test_avg_pool(4,5,40,50,0,0);
5852 test_max_pool(2,2,2,3,1,1);
5853 test_max_pool(3,3,1,1,1,1);
5854 test_max_pool(3,3,2,2,2,1);
5855 test_max_pool(2,2,2,2,1,0);
5856 test_max_pool(4,5,3,1,2,3);
5857 test_avg_pool(1,1,2,3,0,0);
5858 test_avg_pool(3,3,1,1,1,2);
5859 test_avg_pool(3,3,2,2,2,1);
5860 test_avg_pool(2,2,2,2,1,0);
5861 test_avg_pool(4,5,3,1,2,4);
5862 test_avg_pool(4,4,2,2,1,3);
5863 test_avg_pool(4,5,40,50,0,1);
5864 test_tanh();
5865 test_softmax();

Callers

nothing calls this directly

Calls 15

test_taggingFunction · 0.85
test_affine_rectFunction · 0.85
test_more_ops2Function · 0.85
test_more_opsFunction · 0.85
compare_bn_gpu_and_cpuFunction · 0.85
test_addFunction · 0.85
compare_adamFunction · 0.85
test_copy_tensor_gpuFunction · 0.85
test_scale_channelsFunction · 0.85

Tested by

no test coverage detected