repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
self
self-master/lib/dlib/array2d/serialize_pixel_overloads.h
// Copyright (C) 2006 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ARRAY2D_SERIALIZE_PIXEL_OvERLOADS_Hh_ #define DLIB_ARRAY2D_SERIALIZE_PIXEL_OvERLOADS_Hh_ #include "array2d_kernel.h" #include "../pixel.h" namespace dlib { // ----------------...
10,715
27.806452
99
h
self
self-master/lib/dlib/graph_cuts/graph_labeler.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_GRAPH_LaBELER_Hh_ #define DLIB_GRAPH_LaBELER_Hh_ #include "graph_labeler_abstract.h" #include "../matrix.h" #include "../string.h" #include <vector> #include "find_max_factor_gr...
7,672
35.193396
125
h
self
self-master/lib/dlib/graph_cuts/general_potts_problem.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_GENERAL_POTTS_PRoBLEM_Hh_ #define DLIB_GENERAL_POTTS_PRoBLEM_Hh_ #include "../graph_utils.h" #include "min_cut.h" #include <vector> namespace dlib { // -----------------------...
2,651
25.52
91
h
self
self-master/lib/dlib/graph_cuts/general_flow_graph.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_GENERAL_FLOW_GRaPH_Hh_ #define DLIB_GENERAL_FLOW_GRaPH_Hh_ #include "../graph_utils.h" namespace dlib { // --------------------------------------------------------------------...
4,968
27.722543
93
h
self
self-master/lib/dlib/graph_cuts/min_cut.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MIN_CuT_Hh_ #define DLIB_MIN_CuT_Hh_ #include "min_cut_abstract.h" #include "../matrix.h" #include "general_flow_graph.h" #include "../is_kind.h" #include <iostream> #include <...
19,450
33.005245
99
h
self
self-master/lib/dlib/graph_cuts/min_cut_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_MIN_CuT_ABSTRACT_Hh_ #ifdef DLIB_MIN_CuT_ABSTRACT_Hh_ #include "../graph_utils.h" // ---------------------------------------------------------------------------------------- na...
18,333
37.436059
110
h
self
self-master/lib/dlib/graph_cuts/graph_labeler_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_GRAPH_LaBELER_ABSTRACT_Hh_ #ifdef DLIB_GRAPH_LaBELER_ABSTRACT_Hh_ #include "find_max_factor_graph_potts_abstract.h" #include "../graph/graph_kernel_abstract.h" #include "../matri...
7,741
40.623656
106
h
self
self-master/lib/dlib/hash_table/hash_table_kernel_c.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_HASH_TABLE_KERNEl_C_ #define DLIB_HASH_TABLE_KERNEl_C_ #include "hash_table_kernel_abstract.h" #include "../algs.h" #include "../interfaces/map_pair.h" #include "../assert.h" n...
5,713
28.302564
91
h
self
self-master/lib/dlib/hash_table/hash_table_kernel_2.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_HASH_TABLE_KERNEl_2_ #define DLIB_HASH_TABLE_KERNEl_2_ #include "hash_table_kernel_abstract.h" #include "../general_hash/general_hash.h" #include "../algs.h" #include "../interf...
16,596
26.075041
111
h
self
self-master/lib/dlib/hash_table/hash_table_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_HASH_TABLE_KERNEl_ABSTRACT_ #ifdef DLIB_HASH_TABLE_KERNEl_ABSTRACT_ #include "../interfaces/map_pair.h" #include "../general_hash/general_hash.h" #include "../interfaces/enumerab...
8,704
33.271654
113
h
self
self-master/lib/dlib/hash_table/hash_table_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_HASH_TABLE_KERNEl_1_ #define DLIB_HASH_TABLE_KERNEl_1_ #include "hash_table_kernel_abstract.h" #include "../general_hash/general_hash.h" #include "../algs.h" #include "../interf...
22,306
26.203659
111
h
self
self-master/lib/dlib/simd/simd8f.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_sIMD8F_Hh_ #define DLIB_sIMD8F_Hh_ #include "simd_check.h" #include "simd4f.h" #include "simd8i.h" namespace dlib { #ifdef DLIB_HAVE_AVX class simd8f { public: ...
11,909
28.849624
107
h
self
self-master/lib/dlib/simd/simd8i.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_sIMD8I_Hh_ #define DLIB_sIMD8I_Hh_ #include "simd_check.h" #include "../uintn.h" namespace dlib { #ifdef DLIB_HAVE_AVX class simd8i { public: typedef int32...
10,456
29.755882
107
h
self
self-master/lib/dlib/simd/simd4i.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_sIMD4I_Hh_ #define DLIB_sIMD4I_Hh_ #include "simd_check.h" #include "../uintn.h" namespace dlib { #ifdef DLIB_HAVE_SSE2 class simd4i { public: typedef int3...
12,521
29.393204
100
h
self
self-master/lib/dlib/simd/simd_check.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SIMd_CHECK_Hh_ #define DLIB_SIMd_CHECK_Hh_ //#define DLIB_DO_NOT_USE_SIMD // figure out which SIMD instructions we can use. #ifndef DLIB_DO_NOT_USE_SIMD #if defined(_MSC_VE...
2,126
24.626506
100
h
self
self-master/lib/dlib/simd/simd4f.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_sIMD4F_Hh_ #define DLIB_sIMD4F_Hh_ #include "simd_check.h" #include "simd4i.h" #include <cmath> #include <iostream> namespace dlib { #ifdef DLIB_HAVE_SSE2 class simd4f ...
13,944
27.343496
101
h
self
self-master/lib/dlib/dnn/utilities_abstract.h
// Copyright (C) 2016 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_DNn_UTILITIES_ABSTRACT_H_ #ifdef DLIB_DNn_UTILITIES_ABSTRACT_H_ #include "core_abstract.h" namespace dlib { // -----------------------------------------------------------------...
2,162
32.276923
91
h
self
self-master/lib/dlib/dnn/tensor_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_DNn_TENSOR_ABSTRACT_H_ #ifdef DLIB_DNn_TENSOR_ABSTRACT_H_ #include "../matrix.h" namespace dlib { // ----------------------------------------------------------------------------...
21,567
33.126582
91
h
self
self-master/lib/dlib/dnn/cpu_dlib.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNN_CPU_H_ #define DLIB_DNN_CPU_H_ // This file contains CPU implementations of the GPU based functions in cuda_dlib.h // and cudnn_dlibapi.h #include "tensor.h" namespace dli...
10,605
24.93154
95
h
self
self-master/lib/dlib/dnn/gpu_data.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_GPU_DaTA_H_ #define DLIB_GPU_DaTA_H_ #include "gpu_data_abstract.h" #include <memory> #include <cstring> #include "cuda_errors.h" #include "../serialize.h" namespace dlib { //...
6,874
29.286344
133
h
self
self-master/lib/dlib/dnn/utilities.h
// Copyright (C) 2016 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNn_UTILITIES_H_ #define DLIB_DNn_UTILITIES_H_ #include "core.h" #include "utilities_abstract.h" namespace dlib { // ----------------------------------------------------------...
3,514
28.788136
91
h
self
self-master/lib/dlib/dnn/cuda_errors.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CUDA_ERRORs_H_ #define DLIB_CUDA_ERRORs_H_ #include "../error.h" namespace dlib { struct cuda_error : public error { /*! WHAT THIS OBJECT REPRESENT...
1,519
24.333333
86
h
self
self-master/lib/dlib/dnn/curand_dlibapi.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNN_CuRAND_H_ #define DLIB_DNN_CuRAND_H_ #ifdef DLIB_USE_CUDA #include "tensor.h" #include "cuda_errors.h" namespace dlib { namespace cuda { // -----------------...
1,647
23.597015
90
h
self
self-master/lib/dlib/dnn/input_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_DNn_INPUT_ABSTRACT_H_ #ifdef DLIB_DNn_INPUT_ABSTRACT_H_ #include "../matrix.h" #include "../pixel.h" namespace dlib { // ------------------------------------------------------...
9,881
36.862069
96
h
self
self-master/lib/dlib/dnn/cudnn_dlibapi.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNN_CuDNN_H_ #define DLIB_DNN_CuDNN_H_ #ifdef DLIB_USE_CUDA #include "cuda_errors.h" namespace dlib { class tensor; class resizable_tensor; namespace cuda { ...
19,622
33.426316
109
h
self
self-master/lib/dlib/dnn/loss.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNn_LOSS_H_ #define DLIB_DNn_LOSS_H_ #include "loss_abstract.h" #include "core.h" #include "../matrix.h" #include "tensor_tools.h" namespace dlib { // ------------------------...
11,971
32.819209
118
h
self
self-master/lib/dlib/dnn/trainer_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_DNn_TRAINER_ABSTRACT_H_ #ifdef DLIB_DNn_TRAINER_ABSTRACT_H_ #include "core_abstract.h" #include "solvers_abstract.h" #include <vector> #include <chrono> namespace dlib { // --...
21,384
43.738494
108
h
self
self-master/lib/dlib/dnn/solvers_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_DNn_SOLVERS_ABSTRACT_H_ #ifdef DLIB_DNn_SOLVERS_ABSTRACT_H_ #include "tensor_abstract.h" #include <iostream> namespace dlib { // -----------------------------------------------...
7,286
37.352632
113
h
self
self-master/lib/dlib/dnn/solvers.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNn_SOLVERS_H_ #define DLIB_DNn_SOLVERS_H_ #include "solvers_abstract.h" #include "tensor.h" #include <iostream> #include "layers.h" namespace dlib { class sgd { pu...
10,735
29.157303
116
h
self
self-master/lib/dlib/dnn/tensor.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNn_TENSOR_H_ #define DLIB_DNn_TENSOR_H_ #include "tensor_abstract.h" #include <cstring> #include "../matrix.h" #include "cudnn_dlibapi.h" #include "gpu_data.h" #include "../byt...
18,927
30.234323
110
h
self
self-master/lib/dlib/dnn/gpu_data_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_GPU_DaTA_ABSTRACT_H_ #ifdef DLIB_GPU_DaTA_ABSTRACT_H_ #include "cuda_errors.h" #include "../serialize.h" namespace dlib { // ---------------------------------------------------...
9,242
37.194215
91
h
self
self-master/lib/dlib/dnn/cuda_dlib.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNN_CuDA_H_ #define DLIB_DNN_CuDA_H_ #include "tensor.h" namespace dlib { namespace cuda { // -------------------------------------------------------------------...
8,265
25.324841
98
h
self
self-master/lib/dlib/dnn/loss_abstract.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_DNn_LOSS_ABSTRACT_H_ #ifdef DLIB_DNn_LOSS_ABSTRACT_H_ #include "core_abstract.h" namespace dlib { // ---------------------------------------------------------------------------...
15,291
41.5961
107
h
self
self-master/lib/dlib/dnn/cublas_dlibapi.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DNN_CuBLAS_H_ #define DLIB_DNN_CuBLAS_H_ #ifdef DLIB_USE_CUDA #include "tensor.h" #include "cuda_errors.h" namespace dlib { namespace cuda { // -----------------...
1,400
26.470588
93
h
self
self-master/lib/dlib/dnn/cuda_utils.h
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CUDA_UtILS_H_ #define DLIB_CUDA_UtILS_H_ #ifndef DLIB_USE_CUDA #error "This file shouldn't be #included unless DLIB_USE_CUDA is #defined" #endif #include "cuda_errors.h" #incl...
12,011
33.517241
122
h
self
self-master/lib/dlib/timer/timer.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_TIMEr_Hh_ #define DLIB_TIMEr_Hh_ #include "../threads.h" #include "../algs.h" #include "../misc_api.h" #include "timer_abstract.h" #include "../uintn.h" #include "../binary_sear...
9,879
22.138173
109
h
self
self-master/lib/dlib/timer/timer_heavy.h
// Copyright (C) 2005 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_TIMER_KERNEl_1_ #define DLIB_TIMER_KERNEl_1_ #include "../threads.h" #include "../algs.h" #include "../misc_api.h" #include "timer_abstract.h" namespace dlib { template < ...
9,944
24.305344
99
h
self
self-master/lib/dlib/timer/timer_abstract.h
// Copyright (C) 2005 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_TIMER_KERNEl_ABSTRACT_ #ifdef DLIB_TIMER_KERNEl_ABSTRACT_ #include "../threads.h" namespace dlib { template < typename T > class timer { /*...
5,823
29.492147
91
h
self
self-master/lib/dlib/sliding_buffer/sliding_buffer_kernel_1.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SLIDING_BUFFER_KERNEl_1_ #define DLIB_SLIDING_BUFFER_KERNEl_1_ #include "sliding_buffer_kernel_abstract.h" #include "../algs.h" #include "../interfaces/enumerable.h" #include "....
5,902
24.890351
115
h
self
self-master/lib/dlib/sliding_buffer/circular_buffer_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_CIRCULAR_BuFFER_ABSTRACT_Hh_ #ifdef DLIB_CIRCULAR_BuFFER_ABSTRACT_Hh_ #include "../algs.h" #include "../serialize.h" namespace dlib { // ---------------------------------------...
6,415
24.767068
91
h
self
self-master/lib/dlib/sliding_buffer/sliding_buffer_kernel_c.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SLIDING_BUFFER_KERNEl_C_ #define DLIB_SLIDING_BUFFER_KERNEl_C_ #include "sliding_buffer_kernel_abstract.h" #include "../algs.h" #include "../assert.h" #include <iostream> names...
6,488
28.098655
91
h
self
self-master/lib/dlib/sliding_buffer/circular_buffer.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CIRCULAR_BuFFER_Hh_ #define DLIB_CIRCULAR_BuFFER_Hh_ #include "circular_buffer_abstract.h" #include <vector> #include "../algs.h" #include "../serialize.h" #include "../matrix/m...
5,911
24.482759
107
h
self
self-master/lib/dlib/sliding_buffer/sliding_buffer_kernel_abstract.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SLIDING_BUFFER_KERNEl_ABSTRACT_ #ifdef DLIB_SLIDING_BUFFER_KERNEl_ABSTRACT_ #include "../algs.h" #include "../interfaces/enumerable.h" #include "../serialize.h" namespace dlib {...
5,934
27.81068
96
h
self
self-master/lib/dlib/general_hash/random_hashing_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_RANDOM_HAsHING_ABSTRACT_Hh_ #ifdef DLIB_RANDOM_HAsHING_ABSTRACT_Hh_ #include "random_hashing_abstract.h" #include "murmur_hash3.h" namespace dlib { // -----------------------...
2,375
39.271186
94
h
self
self-master/lib/dlib/general_hash/murmur_hash3_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_MURMUR_HAsH_3_ABSTRACT_Hh_ #ifdef DLIB_MURMUR_HAsH_3_ABSTRACT_Hh_ #include "../uintn.h" #include <utility> namespace dlib { // -----------------------------------------------...
4,840
37.420635
101
h
self
self-master/lib/dlib/general_hash/count_bits.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_COUNT_BiTS_Hh_ #define DLIB_COUNT_BiTS_Hh_ #include "../algs.h" #include <climits> namespace dlib { // ------------------------------------------------------------------------...
1,611
24.587302
91
h
self
self-master/lib/dlib/general_hash/murmur_hash3.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_MURMUR_HAsH_3_Hh_ #define DLIB_MURMUR_HAsH_3_Hh_ #include "murmur_hash3_abstract.h" #include "../uintn.h" #include <utility> #include <string.h> namespace dlib { //------...
13,086
24.264479
91
h
self
self-master/lib/dlib/general_hash/hash_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_HAsH_ABSTRACT_Hh_ #ifdef DLIB_HAsH_ABSTRACT_Hh_ #include "murmur_hash3_abstract.h" #include <vector> #include <string> #include <map> namespace dlib { // ---------------------...
7,940
42.393443
91
h
self
self-master/lib/dlib/general_hash/general_hash.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_GENERAL_HASh_ #define DLIB_GENERAL_HASh_ #include <string> #include "hash.h" namespace dlib { // ----------------------------------------------------------------------------...
2,387
28.481481
91
h
self
self-master/lib/dlib/general_hash/count_bits_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_COUNT_BiTS_ABSTRACT_Hh_ #ifdef DLIB_COUNT_BiTS_ABSTRACT_Hh_ namespace dlib { // ---------------------------------------------------------------------------------------- te...
1,115
21.77551
91
h
self
self-master/lib/dlib/general_hash/hash.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_HAsH_Hh_ #define DLIB_HAsH_Hh_ #include "hash_abstract.h" #include <vector> #include <string> #include <map> #include "murmur_hash3.h" #include "../algs.h" namespace dlib { ...
3,727
25.06993
93
h
self
self-master/lib/dlib/graph/graph_kernel_abstract.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_GRAPH_KERNEl_ABSTRACT_ #ifdef DLIB_GRAPH_KERNEl_ABSTRACT_ #include "../serialize.h" #include "../algs.h" #include "../noncopyable.h" namespace dlib { template < typ...
10,052
29.463636
113
h
self
self-master/lib/dlib/entropy_encoder/entropy_encoder_kernel_c.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_ENCODER_KERNEl_C_ #define DLIB_ENTROPY_ENCODER_KERNEl_C_ #include "entropy_encoder_kernel_abstract.h" #include "../algs.h" #include "../assert.h" #include <iostream> na...
3,373
28.858407
108
h
self
self-master/lib/dlib/entropy_encoder/entropy_encoder_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_ENTROPY_ENCODER_KERNEl_ABSTRACT_ #ifdef DLIB_ENTROPY_ENCODER_KERNEl_ABSTRACT_ #include "../algs.h" #include <iosfwd> #include "../uintn.h" namespace dlib { class entropy_en...
5,699
34.185185
92
h
self
self-master/lib/dlib/entropy_encoder/entropy_encoder_kernel_2.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_ENCODER_KERNEl_2_ #define DLIB_ENTROPY_ENCODER_KERNEl_2_ #include "../algs.h" #include "entropy_encoder_kernel_abstract.h" #include <iosfwd> #include "../uintn.h" names...
3,269
27.938053
97
h
self
self-master/lib/dlib/entropy_encoder/entropy_encoder_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ENTROPY_ENCODER_KERNEl_1_ #define DLIB_ENTROPY_ENCODER_KERNEl_1_ #include "../algs.h" #include "entropy_encoder_kernel_abstract.h" #include <iosfwd> #include "../uintn.h" names...
3,590
28.925
97
h
self
self-master/lib/dlib/queue/queue_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_QUEUE_KERNEl_ABSTRACT_ #ifdef DLIB_QUEUE_KERNEl_ABSTRACT_ #include "../interfaces/enumerable.h" #include "../interfaces/remover.h" #include "../serialize.h" #include "../algs.h" ...
6,215
30.553299
113
h
self
self-master/lib/dlib/queue/queue_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_QUEUE_KERNEl_1_ #define DLIB_QUEUE_KERNEl_1_ #include "queue_kernel_abstract.h" #include "../algs.h" #include "../interfaces/enumerable.h" #include "../interfaces/remover.h" #in...
13,613
23.52973
106
h
self
self-master/lib/dlib/queue/queue_sort_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_QUEUE_SORt_1_ #define DLIB_QUEUE_SORt_1_ #include "queue_sort_abstract.h" #include "../algs.h" #include <vector> #include "../sort.h" namespace dlib { template < t...
5,044
29.391566
98
h
self
self-master/lib/dlib/queue/queue_kernel_c.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_QUEUE_KERNEl_C_ #define DLIB_QUEUE_KERNEl_C_ #include "queue_kernel_abstract.h" #include "../algs.h" #include "../assert.h" namespace dlib { template < typename q...
4,917
25.159574
91
h
self
self-master/lib/dlib/queue/queue_sort_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_QUEUE_SORt_ABSTRACT_ #ifdef DLIB_QUEUE_SORt_ABSTRACT_ #include "queue_kernel_abstract.h" namespace dlib { template < typename queue_base > class queue_...
2,158
27.786667
87
h
self
self-master/lib/dlib/queue/queue_kernel_2.h
// Copyright (C) 2004 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_QUEUE_KERNEl_2_ #define DLIB_QUEUE_KERNEl_2_ #include "queue_kernel_abstract.h" #include "../algs.h" #include "../assert.h" #include "../interfaces/enumerable.h" #include "../in...
15,807
25.302829
106
h
self
self-master/lib/dlib/unicode/unicode_abstract.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net), and Nils Labugt // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_UNICODe_ABSTRACT_H_ #ifdef DLIB_UNICODe_ABSTRACT_H_ #include "../uintn.h" #include "../error.h" #include <string> #include <fstream> namespace dlib { // ------...
7,046
29.115385
94
h
self
self-master/lib/dlib/unicode/unicode.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net), and Nils Labugt // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_UNICODe_H_ #define DLIB_UNICODe_H_ #include "../uintn.h" #include "../algs.h" #include "unicode_abstract.h" #include <string> #include <cstring> #include <fstr...
20,525
32.267423
108
h
self
self-master/lib/dlib/vectorstream/unserialize.h
// Copyright (C) 2016 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_uNSERIALIZE_Hh_ #define DLIB_uNSERIALIZE_Hh_ #include "unserialize_abstract.h" #include "../serialize.h" #include "../algs.h" #include "vectorstream.h" namespace dlib { ...
2,482
24.080808
89
h
self
self-master/lib/dlib/vectorstream/vectorstream_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_VECTORStREAM_ABSTRACT_Hh_ #ifdef DLIB_VECTORStREAM_ABSTRACT_Hh_ #include <iostream> #include <vector> namespace dlib { class vectorstream : public std::iostream { ...
2,580
39.968254
91
h
self
self-master/lib/dlib/vectorstream/unserialize_abstract.h
// Copyright (C) 2016 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_uNSERIALIZE_ABSTRACT_Hh_ #ifdef DLIB_uNSERIALIZE_ABSTRACT_Hh_ #include "../serialize.h" #include <iostream> namespace dlib { class unserialize : public std::istream { ...
2,066
34.033898
97
h
self
self-master/lib/dlib/opencv/cv_image.h
// Copyright (C) 2009 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CvIMAGE_H_ #define DLIB_CvIMAGE_H_ #include <opencv2/core/core.hpp> #include <opencv2/core/types_c.h> #include "cv_image_abstract.h" #include "../algs.h" #include "../pixel.h" #...
5,797
27.99
117
h
self
self-master/lib/dlib/opencv/to_open_cv_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_TO_OPEN_Cv_ABSTRACTh_ #ifdef DLIB_TO_OPEN_Cv_ABSTRACTh_ #include <opencv2/core/core.hpp> #include "../pixel.h" namespace dlib { template < typename image_type ...
1,045
28.885714
89
h
self
self-master/lib/dlib/opencv/cv_image_abstract.h
// Copyright (C) 2009 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_OPENCV_IMAGE_AbSTRACT_H_ #ifdef DLIB_OPENCV_IMAGE_AbSTRACT_H_ #include <opencv2/core/core.hpp> #include <opencv2/core/types_c.h> #include "../algs.h" #include "../pixel.h" names...
8,707
32.883268
96
h
self
self-master/lib/dlib/opencv/to_open_cv.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_TO_OPEN_Cv_Hh_ #define DLIB_TO_OPEN_Cv_Hh_ #include <opencv2/core/core.hpp> #include "to_open_cv_abstract.h" #include "../pixel.h" #include "../matrix/matrix.h" namespace dlib ...
1,301
27.304348
120
h
self
self-master/lib/dlib/reference_counter/reference_counter_kernel_abstract.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_REFERENCE_COUNTER_KERNEl_ABSTRACT_ #ifdef DLIB_REFERENCE_COUNTER_KERNEl_ABSTRACT_ #include "../algs.h" namespace dlib { template < typename T, typename copy...
4,202
28.598592
90
h
self
self-master/lib/dlib/reference_counter/reference_counter_kernel_1.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_REFERENCE_COUNTER_KERNEl_1_ #define DLIB_REFERENCE_COUNTER_KERNEl_1_ #include "reference_counter_kernel_abstract.h" #include "../algs.h" namespace dlib { template < ...
7,404
23.765886
91
h
self
self-master/lib/dlib/svm/svm_c_linear_trainer_abstract.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SVM_C_LiNEAR_TRAINER_ABSTRACT_Hh_ #ifdef DLIB_SVM_C_LiNEAR_TRAINER_ABSTRACT_Hh_ #include "../matrix/matrix_abstract.h" #include "../algs.h" #include "function_abstract.h" #includ...
13,372
36.147222
106
h
self
self-master/lib/dlib/svm/reduced_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_REDUCED_TRAINERs_ABSTRACT_ #ifdef DLIB_REDUCED_TRAINERs_ABSTRACT_ #include "../matrix.h" #include "../algs.h" #include "function_abstract.h" #include "kernel_abstract.h" #include...
11,482
41.847015
97
h
self
self-master/lib/dlib/svm/linearly_independent_subset_finder_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_LISf_ABSTRACT_ #ifdef DLIB_LISf_ABSTRACT_ #include "../algs.h" #include "../serialize.h" #include "kernel_abstract.h" namespace dlib { template < typename kernel_ty...
11,704
34.685976
108
h
self
self-master/lib/dlib/svm/rbf_network_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_RBf_NETWORK_ABSTRACT_ #ifdef DLIB_RBf_NETWORK_ABSTRACT_ #include "../algs.h" #include "function_abstract.h" #include "kernel_abstract.h" namespace dlib { // -------------------...
3,869
28.097744
93
h
self
self-master/lib/dlib/svm/kkmeans_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_KKMEANs_ABSTRACT_ #ifdef DLIB_KKMEANs_ABSTRACT_ #include <cmath> #include "../matrix/matrix_abstract.h" #include "../algs.h" #include "../serialize.h" #include "kernel_abstract.h...
12,954
34.396175
117
h
self
self-master/lib/dlib/svm/sequence_segmenter.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SEQUENCE_SeGMENTER_H_h_ #define DLIB_SEQUENCE_SeGMENTER_H_h_ #include "sequence_segmenter_abstract.h" #include "../matrix.h" #include "sequence_labeler.h" #include <vector> nam...
17,579
36.484009
116
h
self
self-master/lib/dlib/svm/structural_svm_distributed.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_STRUCTURAL_SVM_DISTRIBUTeD_Hh_ #define DLIB_STRUCTURAL_SVM_DISTRIBUTeD_Hh_ #include "structural_svm_distributed_abstract.h" #include "structural_svm_problem.h" #include "../bri...
24,752
34.260684
128
h
self
self-master/lib/dlib/svm/krr_trainer.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_KRR_TRAInER_Hh_ #define DLIB_KRR_TRAInER_Hh_ #include "../algs.h" #include "function.h" #include "kernel.h" #include "empirical_kernel_map.h" #include "linearly_independent_subs...
11,186
29.317073
105
h
self
self-master/lib/dlib/svm/structural_svm_problem_threaded_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_STRUCTURAL_SVM_PRObLEM_THREADED_ABSTRACT_Hh_ #ifdef DLIB_STRUCTURAL_SVM_PRObLEM_THREADED_ABSTRACT_Hh_ #include "structural_svm_problem_abstract.h" #include "../matrix.h" namespa...
2,539
35.811594
109
h
self
self-master/lib/dlib/svm/sequence_labeler.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SEQUENCE_LAbELER_H_h_ #define DLIB_SEQUENCE_LAbELER_H_h_ #include "sequence_labeler_abstract.h" #include "../matrix.h" #include <vector> #include "../optimization/find_max_facto...
10,433
29.688235
114
h
self
self-master/lib/dlib/svm/structural_svm_object_detection_problem_abstract.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_STRUCTURAL_SVM_ObJECT_DETECTION_PROBLEM_ABSTRACT_Hh_ #ifdef DLIB_STRUCTURAL_SVM_ObJECT_DETECTION_PROBLEM_ABSTRACT_Hh_ #include "../matrix.h" #include "structural_svm_problem_thre...
8,480
42.270408
127
h
self
self-master/lib/dlib/svm/active_learning_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_ACTIVE_LEARnING_ABSTRACT_Hh_ #ifdef DLIB_ACTIVE_LEARnING_ABSTRACT_Hh_ #include "svm_c_linear_dcd_trainer_abstract.h" #include <vector> namespace dlib { // ---------------------...
3,495
45
97
h
self
self-master/lib/dlib/svm/svm_rank_trainer_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SVM_RANK_TrAINER_ABSTRACT_Hh_ #ifdef DLIB_SVM_RANK_TrAINER_ABSTRACT_Hh_ #include "ranking_tools_abstract.h" #include "sparse_vector_abstract.h" #include "function_abstract.h" #in...
11,395
37.113712
104
h
self
self-master/lib/dlib/svm/reduced.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_REDUCEd_TRAINERS_ #define DLIB_REDUCEd_TRAINERS_ #include "reduced_abstract.h" #include "../matrix.h" #include "../algs.h" #include "function.h" #include "kernel.h" #include "kc...
23,484
37.249186
133
h
self
self-master/lib/dlib/svm/sequence_segmenter_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SEQUENCE_SeGMENTER_ABSTRACT_H_h_ #ifdef DLIB_SEQUENCE_SeGMENTER_ABSTRACT_H_h_ #include "../matrix.h" #include <vector> #include "sequence_labeler_abstract.h" namespace dlib { /...
22,695
49.101545
100
h
self
self-master/lib/dlib/svm/svm_c_trainer.h
// Copyright (C) 2007 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SVm_C_TRAINER_Hh_ #define DLIB_SVm_C_TRAINER_Hh_ //#include "local/make_label_kernel_matrix.h" #include "svm_c_trainer_abstract.h" #include <cmath> #include <limits> #include ...
10,608
28.469444
126
h
self
self-master/lib/dlib/svm/krls_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_KRLs_ABSTRACT_ #ifdef DLIB_KRLs_ABSTRACT_ #include <cmath> #include "../matrix/matrix_abstract.h" #include "../algs.h" #include "../serialize.h" #include "kernel_abstract.h" nam...
6,930
33.142857
93
h
self
self-master/lib/dlib/svm/cross_validate_graph_labeling_trainer.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_CROSS_VALIDATE_GRAPh_LABELING_TRAINER_Hh_ #define DLIB_CROSS_VALIDATE_GRAPh_LABELING_TRAINER_Hh_ #include "../array.h" #include "../graph_cuts/min_cut.h" #include "svm.h" #inclu...
9,114
34.19305
129
h
self
self-master/lib/dlib/svm/ranking_tools_abstract.h
// Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_RANKING_ToOLS_ABSTRACT_Hh_ #ifdef DLIB_RANKING_ToOLS_ABSTRACT_Hh_ #include "../algs.h" #include "../matrix.h" #include <vector> namespace dlib { // ---------------------------...
9,273
36.395161
104
h
self
self-master/lib/dlib/svm/feature_ranking_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_KERNEL_FEATURE_RANKINg_ABSTRACT_H_ #ifdef DLIB_KERNEL_FEATURE_RANKINg_ABSTRACT_H_ #include <vector> #include <limits> #include "svm_abstract.h" #include "kcentroid_abstract.h" #...
5,635
40.138686
101
h
self
self-master/lib/dlib/svm/structural_svm_problem.h
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_STRUCTURAL_SVM_PRObLEM_Hh_ #define DLIB_STRUCTURAL_SVM_PRObLEM_Hh_ #include "structural_svm_problem_abstract.h" #include "../algs.h" #include <vector> #include "../optimization/...
22,229
33.2
115
h
self
self-master/lib/dlib/svm/simplify_linear_decision_function.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SIMPLIFY_LINEAR_DECiSION_FUNCTION_Hh_ #define DLIB_SIMPLIFY_LINEAR_DECiSION_FUNCTION_Hh_ #include "simplify_linear_decision_function_abstract.h" #include "../algs.h" #include "f...
3,496
30.504505
104
h
self
self-master/lib/dlib/svm/kcentroid_abstract.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_KCENTROId_ABSTRACT_ #ifdef DLIB_KCENTROId_ABSTRACT_ #include "../algs.h" #include "../serialize.h" #include "kernel_abstract.h" namespace dlib { template < typename...
12,533
35.864706
101
h
self
self-master/lib/dlib/svm/structural_sequence_segmentation_trainer.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_STRUCTURAL_SEQUENCE_sEGMENTATION_TRAINER_Hh_ #define DLIB_STRUCTURAL_SEQUENCE_sEGMENTATION_TRAINER_Hh_ #include "structural_sequence_segmentation_trainer_abstract.h" #include "s...
9,051
31.099291
114
h
self
self-master/lib/dlib/svm/svr_linear_trainer_abstract.h
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #undef DLIB_SVR_LINEAR_TrAINER_ABSTRACT_Hh_ #ifdef DLIB_SVR_LINEAR_TrAINER_ABSTRACT_Hh_ #include "sparse_vector_abstract.h" #include "function_abstract.h" #include "kernel_abstract.h" #inclu...
9,786
35.248148
106
h
self
self-master/lib/dlib/svm/null_df.h
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_NULL_DECISION_FUnCTION_Hh_ #define DLIB_NULL_DECISION_FUnCTION_Hh_ #include <iostream> namespace dlib { // --------------------------------------------------------------------...
1,044
29.735294
95
h
self
self-master/lib/dlib/svm/krls.h
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_KRLs_ #define DLIB_KRLs_ #include <vector> #include "krls_abstract.h" #include "../matrix.h" #include "function.h" #include "../std_allocator.h" namespace dlib { // ---------...
12,347
33.395543
122
h