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

Function test_layers

dlib/test/dnn.cpp:2807–3187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2805// ----------------------------------------------------------------------------------------
2806
2807 void test_layers()
2808 {
2809 {
2810 print_spinner();
2811 reorg_<2,2> l;
2812 auto res = test_layer(l);
2813 DLIB_TEST_MSG(res, res);
2814 }
2815 {
2816 print_spinner();
2817 tril_<-5, void, 1, 2> l;
2818 auto res = test_layer(l);
2819 DLIB_TEST_MSG(res, res);
2820 }
2821 {
2822 print_spinner();
2823 extract_<0,2,2,2> l;
2824 auto res = test_layer(l);
2825 DLIB_TEST_MSG(res, res);
2826 }
2827 {
2828 print_spinner();
2829 extract_<3,2,1,2> l;
2830 auto res = test_layer(l);
2831 DLIB_TEST_MSG(res, res);
2832 }
2833 {
2834 print_spinner();
2835 extract_<0,2,1,2> l;
2836 auto res = test_layer(l);
2837 DLIB_TEST_MSG(res, res);
2838 }
2839 {
2840 print_spinner();
2841 slice_<0,0,0,2,2,2> l;
2842 auto res = test_layer(l);
2843 DLIB_TEST_MSG(res, res);
2844 }
2845 {
2846 print_spinner();
2847 slice_<1,1,1,1,1,1> l;
2848 auto res = test_layer(l);
2849 DLIB_TEST_MSG(res, res);
2850 }
2851 {
2852 print_spinner();
2853 slice_<0,0,0,1,1,1> l;
2854 auto res = test_layer(l);
2855 DLIB_TEST_MSG(res, res);
2856 }
2857 {
2858 print_spinner();
2859 upsample_<1,1> l;
2860 auto res = test_layer(l);
2861 DLIB_TEST_MSG(res, res);
2862 }
2863 {
2864 print_spinner();

Callers 1

run_testsMethod · 0.85

Calls 2

print_spinnerFunction · 0.85
test_layerFunction · 0.85

Tested by

no test coverage detected