Change Log
Revision: 074ab8bdbadbee1afb95
Author: Davis King
Date: Jan 24, 2022 (17:10:27 UTC)

Created release v19.23

 dlib/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Revision: acf1b9c479af550b3f92
Author: Davis King
Date: Jan 24, 2022 (17:05:59 UTC)

Rename INVOKE to invoke_

 dlib/invoke.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Revision: 56b8cd5cbc3f82743582
Author: Davis King
Date: Jan 24, 2022 (17:01:47 UTC)

Make struct some_type; get bolded when pretty printed

 dlib/cpp_pretty_printer/cpp_pretty_printer_kernel_1.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 8810a62b1133661108b1
Author: Davis King
Date: Jan 24, 2022 (16:55:44 UTC)

fix spelling error in comment

 dlib/cpp_pretty_printer/cpp_pretty_printer_kernel_abstract.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Revision: c1b3feb23b6d5a9342bf
Author: Davis King
Date: Jan 24, 2022 (16:49:09 UTC)

very minor formatting fixup

 dlib/invoke.h | 2 ++
 1 file changed, 2 insertions(+)

Revision: 3c654a7a9e23e9e9866c
Author: Davis King
Date: Jan 24, 2022 (03:35:34 UTC)

cleanup formatting a little

 dlib/invoke.h | 40 +++++++++++++++++++++++++---------------
 1 file changed, 25 insertions(+), 15 deletions(-)

Revision: 2ed6ae1b6cee3372fa4c
Author: Adrià Arrufat
Date: Jan 24, 2022 (10:36:45 UTC)

Eliminate grid sensitivity in YOLO (#2488)

 dlib/dnn/loss.h | 63 +++++++++++++++++++++++++++++----------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Revision: 3da3e811812aab2d4da2
Author: Adrià Arrufat
Date: Jan 24, 2022 (10:29:28 UTC)

Fix Layer Normalize (#2489)

 dlib/cuda/cpu_dlib.cpp | 30 ++++++++++++++++--------------
 dlib/cuda/cuda_dlib.cu | 33 ++++++++++++++++-----------------
 dlib/dnn/layers.h      |  2 +-
 dlib/test/dnn.cpp      |  6 +++---
 4 files changed, 36 insertions(+), 35 deletions(-)

Revision: aaac87a2248b5c7ee23b
Author: pfeatherstone
Date: Jan 23, 2022 (16:26:15 UTC)

[TYPE_SAFE_UNION] simplified some type traits and added for_each(). (#2475)

 dlib/test/type_safe_union.cpp                      | 176 +++++++-
 dlib/type_safe_union/type_safe_union_kernel.h      | 463 +++++++++++----------
 .../type_safe_union_kernel_abstract.h              | 174 ++++++--
 3 files changed, 534 insertions(+), 279 deletions(-)

Revision: 42e0869606f3056cc1f8
Author: Adrià Arrufat
Date: Jan 15, 2022 (32:22:43 UTC)

Fix warning about unused zero_gradients parameter (#2487)

 dlib/dnn/core.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 8b4652912de30fc2d605
Author: Adrià Arrufat
Date: Jan 10, 2022 (29:02:20 UTC)

Fix MSVC pragma warnings with other compilers (#2483)

 dlib/geometry/rectangle.h | 4 ++++
 1 file changed, 4 insertions(+)

Revision: a6f29d41ad96fff44c6a
Author: Juha Reunanen
Date: Jan 06, 2022 (18:03:48 UTC)

Avoid different kinds of compiler warnings (#2481)

 dlib/cuda/cpu_dlib.cpp           | 16 ++++++++--------
 dlib/cuda/cpu_dlib.h             | 16 ++++++++--------
 dlib/cuda/cuda_dlib.cu           | 16 ++++++++--------
 dlib/cuda/cuda_dlib.h            | 16 ++++++++--------
 dlib/cuda/tensor.h               |  2 +-
 dlib/cuda/tensor_tools.h         |  2 +-
 dlib/dnn/input.h                 |  6 +++---
 dlib/dnn/loss.h                  | 10 +++++-----
 dlib/dnn/solvers.h               |  4 ++--
 dlib/geometry/rectangle.h        |  5 +++++
 dlib/statistics/lda.h            |  2 +-
 dlib/vectorstream/vectorstream.h |  2 +-
 12 files changed, 51 insertions(+), 46 deletions(-)

Revision: 994df341a2c9b797b49b
Author: Adrià Arrufat
Date: Jan 05, 2022 (15:46:55 UTC)

add option to not zero out gradients and method to do it (#2477)

 dlib/dnn/core.h          | 169 ++++++++++++++++++++++++++++++++++++-----------
 dlib/dnn/core_abstract.h |  60 ++++++++++++++---
 2 files changed, 182 insertions(+), 47 deletions(-)

Revision: a54cea44ae94179b71ee
Author: Davis King
Date: Dec 16, 2021 (03:16:59 UTC)

added a comment

 dlib/matrix/matrix_la.h | 2 ++
 1 file changed, 2 insertions(+)

Revision: 75b3463fa727bb489931
Author: Juha Reunanen
Date: Dec 16, 2021 (17:13:08 UTC)

Avoid distracting compiler warning (#2472)

 dlib/matrix/matrix_la.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Revision: f0c0b307d5253de14f21
Author: Adrià Arrufat
Date: Dec 08, 2021 (04:49:06 UTC)

Fix crash when truth center is outside of the image (#2471)

 dlib/dnn/loss.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Revision: a2c4760307c7d3ed8f8e
Author: Adrià Arrufat
Date: Nov 25, 2021 (17:37:13 UTC)

Use lambda obj in the ignore case and do some refactoring (#2466)

 dlib/dnn/loss.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Revision: cf21f5aa9556f31190b5
Author: aribiere
Date: Nov 19, 2021 (15:38:03 UTC)

Add semicolon as separator for reading in a matrix (#2462)

 dlib/matrix/matrix_read_from_istream.h | 1 +
 1 file changed, 1 insertion(+)

Revision: e1ac0b43e483bd36e7ed
Author: Adrià Arrufat
Date: Nov 17, 2021 (15:14:39 UTC)

normalize samples for SVM classifier (#2460)

 examples/dnn_self_supervised_learning_ex.cpp | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Revision: 44621a61249893b0912b
Author: Davis King
Date: Nov 14, 2021 (16:28:00 UTC)

fix build error

 dlib/test/invoke.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Revision: 1925b2d10f3d9a87432e
Author: pfeatherstone
Date: Nov 14, 2021 (21:18:06 UTC)

[INVOKE] added is_invocable_r, invoke_r, made everything constexpr and conditionally noexcept (#2458)

 dlib/invoke.h        | 176 +++++++++++++++++++++++++++++++++++++++++++++++----
 dlib/test/invoke.cpp |  96 ++++++++++++++++++++++++++++
 2 files changed, 260 insertions(+), 12 deletions(-)

Revision: 7c8ca22580fe00b300f4
Author: Davis King
Date: Nov 14, 2021 (09:09:57 UTC)

minor cleanup

 tools/python/src/other.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Revision: a77b361f890ede566c22
Author: Davis King
Date: Nov 14, 2021 (09:05:47 UTC)

Make test python builds nice

 tools/python/CMakeLists.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Revision: 569de8146474b2155389
Author: Addam Dominec
Date: Nov 14, 2021 (20:34:00 UTC)

expose momentum_filter to Python (#2457)

 tools/python/src/other.cpp | 78 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)

Revision: 5091e9c8800ad5251eb8
Author: Adrià Arrufat
Date: Nov 06, 2021 (24:33:31 UTC)

Replace sgd-based fc classifier with svm_multiclass_linear_trainer (#2452)

 examples/dnn_self_supervised_learning_ex.cpp | 102 ++++++++++++---------------
 1 file changed, 47 insertions(+), 55 deletions(-)

Revision: f77189db03e87c732837
Author: pfeatherstone
Date: Nov 06, 2021 (19:54:01 UTC)

[INVOKE] C++11 backport of std::invoke, std::invoke_result, std:apply and std::make_from_tuple (#2450)

 dlib/invoke.h            | 145 +++++++++++++++++++++++++++
 dlib/test/CMakeLists.txt |   1 +
 dlib/test/invoke.cpp     | 256 +++++++++++++++++++++++++++++++++++++++++++++++
 dlib/utility.h           |  42 ++++++++
 4 files changed, 444 insertions(+)

Revision: 7f6746e7cdd0de3de261
Author: Adrià Arrufat
Date: Nov 02, 2021 (24:50:18 UTC)

Fix nvidia pragma warning (#2454)

 dlib/algs.h | 4 ++++
 1 file changed, 4 insertions(+)

Revision: 709b66677c19c3de649b
Author: Adrià Arrufat
Date: Nov 02, 2021 (14:00:51 UTC)

Avoid redundant computations in the YOLO loss (#2453)

 dlib/dnn/loss.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Revision: a41b3d7ce89c1f9c0622
Author: Davis King
Date: Oct 30, 2021 (05:47:42 UTC)

We have some excessive and duplicative tests in the travis-ci setup.

 dlib/travis/build-and-test.sh | 28 ----------------------------
 1 file changed, 28 deletions(-)

Revision: 2e8bac1915fe380ca062
Author: Adrià Arrufat
Date: Oct 30, 2021 (06:26:38 UTC)

Add dnn self supervised learning example (#2434)

 dlib/dnn/input.h                             | 172 ++++++++++++-
 dlib/dnn/input_abstract.h                    | 109 ++++++++
 dlib/dnn/loss.h                              | 149 +++++++++++
 dlib/dnn/loss_abstract.h                     |  82 ++++++
 examples/CMakeLists.txt                      |   1 +
 examples/dnn_self_supervised_learning_ex.cpp | 364 +++++++++++++++++++++++++++
 6 files changed, 873 insertions(+), 4 deletions(-)

Revision: f323d1824cec13230be7
Author: pfeatherstone
Date: Oct 29, 2021 (13:43:15 UTC)

simplification using C++11 types (#2446)

 dlib/threads/async.h | 43 +++++--------------------------------------
 1 file changed, 5 insertions(+), 38 deletions(-)

Revision: d29a8fc0c3b297ffa8ba
Author: Davis King
Date: Oct 28, 2021 (04:36:32 UTC)

Just minor cleanup of docs and renamed some stuff, tweaked formatting.

 dlib/type_safe_union/type_safe_union_kernel.h      | 56 +++++++++++++---------
 .../type_safe_union_kernel_abstract.h              | 17 +++----
 2 files changed, 43 insertions(+), 30 deletions(-)

Revision: 2b8f9e401ace9f90676d
Author: pfeatherstone
Date: Oct 28, 2021 (14:34:57 UTC)

[TYPE_SAFE_UNION] upgrade (#2443)

 dlib/test/type_safe_union.cpp                      |  208 +++-
 dlib/type_safe_union/type_safe_union_kernel.h      | 1008 ++++++++++----------
 .../type_safe_union_kernel_abstract.h              |  317 +++---
 3 files changed, 915 insertions(+), 618 deletions(-)

Revision: bf4100069fbd9fe38469
Author: Adrià Arrufat
Date: Oct 13, 2021 (28:59:29 UTC)

Fix dnn_trainer trying to decrease the learning rate (#2442)

 dlib/dnn/trainer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: adca7472dfa2ed2df735
Author: Adrià Arrufat
Date: Oct 11, 2021 (32:48:56 UTC)

Add support for fused convolutions (#2294)

 dlib/cuda/cpu_dlib.cpp         |  27 +++++++
 dlib/cuda/cpu_dlib.h           |  16 ++++
 dlib/cuda/cudnn_dlibapi.cpp    |  89 +++++++++++++++++++++
 dlib/cuda/cudnn_dlibapi.h      |  28 ++++++-
 dlib/cuda/tensor_tools.h       |  60 ++++++++++++++-
 dlib/dnn/layers.h              | 171 +++++++++++++++++++++++++++++++++++++----
 dlib/dnn/layers_abstract.h     |  87 +++++++++++++++++----
 dlib/test/dnn.cpp              |  31 ++++++++
 examples/dnn_yolo_train_ex.cpp |  13 +++-
 9 files changed, 491 insertions(+), 31 deletions(-)

Revision: 8a2c7442074339ac9ffc
Author: Adrià Arrufat
Date: Sep 27, 2021 (29:47:04 UTC)

Fix trainer with unsupervised loss (#2436)

 dlib/dnn/trainer.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Revision: b9f04fdc453df516f806
Author: Davis King
Date: Sep 25, 2021 (06:58:04 UTC)

Fix error in build-and-test.sh script

 dlib/travis/build-and-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: cd6080ca83acd7bce7bc
Author: Davis King
Date: Sep 25, 2021 (06:51:42 UTC)

fix spelling error in comment

 dlib/cmd_line_parser/cmd_line_parser_kernel_abstract.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: e1aa34477ae537b176e3
Author: Davis King
Date: Sep 23, 2021 (08:25:58 UTC)

Added mpc option to say you only care about the first time we get to the target

 dlib/control/mpc.h          | 31 +++++++++++++++++++-
 dlib/control/mpc_abstract.h | 27 ++++++++++++++++-
 dlib/test/mpc.cpp           | 71 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 127 insertions(+), 2 deletions(-)

Revision: 960e8a014fce4e8c761d
Author: Jakub Mareda
Date: Sep 15, 2021 (16:27:24 UTC)

Missing include for `dlib::loss_multiclass_log_per_pixel_` (#2432)

 examples/pascal_voc_2012.h | 1 +
 1 file changed, 1 insertion(+)

Revision: adea4e603aeebc1c8540
Author: Adrià Arrufat
Date: Sep 13, 2021 (30:17:56 UTC)

Allow setting custom cuda compute capabilities (#2431)

 dlib/CMakeLists.txt | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Revision: 45069796095a936380b1
Author: Lê Xuân Tuấn Anh
Date: Sep 10, 2021 (26:03:31 UTC)

add intel mkl search path (#2428)

 dlib/cmake_utils/find_blas.cmake | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Revision: e0a5725f22a9b3eec9d3
Author: Adrià Arrufat
Date: Aug 19, 2021 (30:02:10 UTC)

Handle tag layers as inputs to disable_duplicative_biases (#2416)

 dlib/dnn/layers.h | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

Revision: 5bd837d13fd364c505bc
Author: Adrià Arrufat
Date: Aug 19, 2021 (30:01:54 UTC)

Show number of parameters if net is allocated (#2417)

 dlib/dnn/trainer.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Revision: fe0957303f62a87b7360
Author: Adrià Arrufat
Date: Aug 06, 2021 (29:32:53 UTC)

Add progress information to console_progress_indicator (#2411)

 dlib/console_progress_indicator.h               | 16 +++++++++++++---
 dlib/image_processing/shape_predictor_trainer.h |  2 +-
 2 files changed, 14 insertions(+), 4 deletions(-)

Revision: 74653b4f26d607fdbe6b
Author: Adrià Arrufat
Date: Aug 06, 2021 (17:24:12 UTC)

Add function to compute string dimensions in pixels (#2408)

 dlib/image_transforms/draw.h          | 55 +++++++++++++++++++++++++++++++++++
 dlib/image_transforms/draw_abstract.h | 39 ++++++++++++++++++++++++-
 2 files changed, 93 insertions(+), 1 deletion(-)

Revision: cd915b037d2e2070bcbe
Author: Adrià Arrufat
Date: Aug 05, 2021 (26:16:28 UTC)

update pngligconf.h

 dlib/external/libpng/pnglibconf.h | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

Revision: f019b7adcfac1b48afc7
Author: Adrià Arrufat
Date: Aug 05, 2021 (25:28:27 UTC)

Minor changes to avoid conflicts and warnings in visual studio.

 dlib/external/libpng/pngconf.h | 9 +++++++++
 1 file changed, 9 insertions(+)

Revision: ca3a0fdd5e3f01272eff
Author: Davis King
Date: Jan 11, 2014 (10:42:26 UTC)

normalized line endings so visual studio won't complain.

 dlib/external/zlib/gzguts.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Revision: fdf6902ade23cbb9ee8b
Author: Davis King
Date: Dec 05, 2013 (18:29:35 UTC)

Another minor thing to avoid warnings from visual studio.

 dlib/external/zlib/gzguts.h | 8 ++++++++
 1 file changed, 8 insertions(+)

Revision: 04816ec0fb37e26093c8
Author: Davis King
Date: Dec 04, 2013 (16:07:18 UTC)

Added missing #include (needed only to avoid gcc warnings)

 dlib/external/zlib/gzguts.h | 2 ++
 1 file changed, 2 insertions(+)

Revision: 11101b6f4bcef22484b6
Author: Adrià Arrufat
Date: Aug 05, 2021 (25:21:44 UTC)

update libpng to version 1.6.37

 dlib/external/libpng/README                        |  139 +-
 dlib/external/libpng/arm/palette_neon_intrinsics.c |  149 +
 dlib/external/libpng/png.c                         | 1574 +++++-----
 dlib/external/libpng/png.h                         | 1206 ++++----
 dlib/external/libpng/pngconf.h                     |  179 +-
 dlib/external/libpng/pngdebug.h                    |   26 +-
 dlib/external/libpng/pngerror.c                    |  191 +-
 dlib/external/libpng/pngget.c                      |  276 +-
 dlib/external/libpng/pnginfo.h                     |   31 +-
 dlib/external/libpng/pngmem.c                      |   45 +-
 dlib/external/libpng/pngpread.c                    |  441 +--
 dlib/external/libpng/pngpriv.h                     |  761 ++---
 dlib/external/libpng/pngread.c                     | 1109 +++++---
 dlib/external/libpng/pngrio.c                      |   24 +-
 dlib/external/libpng/pngrtran.c                    | 3002 ++++++++++----------
 dlib/external/libpng/pngrutil.c                    | 1454 ++++++----
 dlib/external/libpng/pngset.c                      |  535 ++--
 dlib/external/libpng/pngstruct.h                   |   74 +-
 dlib/external/libpng/pngtrans.c                    |  121 +-
 dlib/external/libpng/pngwio.c                      |   26 +-
 dlib/external/libpng/pngwrite.c                    | 1223 ++++----
 dlib/external/libpng/pngwtran.c                    |  246 +-
 dlib/external/libpng/pngwutil.c                    | 1406 ++++-----
 23 files changed, 7492 insertions(+), 6746 deletions(-)

Revision: 23e506323a00d4357d3c
Author: Adrià Arrufat
Date: Aug 05, 2021 (25:20:50 UTC)

update zlib to version 1.2.11

 dlib/external/zlib/README     |   6 +-
 dlib/external/zlib/adler32.c  |  21 +-
 dlib/external/zlib/compress.c |  42 ++-
 dlib/external/zlib/crc32.c    |  41 ++-
 dlib/external/zlib/deflate.c  | 802 ++++++++++++++++++++++++++----------------
 dlib/external/zlib/deflate.h  |  35 +-
 dlib/external/zlib/gzguts.h   |  33 +-
 dlib/external/zlib/gzlib.c    |  31 +-
 dlib/external/zlib/gzread.c   | 156 +++++---
 dlib/external/zlib/gzwrite.c  | 332 ++++++++++-------
 dlib/external/zlib/infback.c  |   4 +-
 dlib/external/zlib/inffast.c  |  85 ++---
 dlib/external/zlib/inflate.c  | 123 +++++--
 dlib/external/zlib/inflate.h  |  11 +-
 dlib/external/zlib/inftrees.c |  26 +-
 dlib/external/zlib/trees.c    |  99 ++----
 dlib/external/zlib/uncompr.c  |  98 ++++--
 dlib/external/zlib/zconf.h    |  41 ++-
 dlib/external/zlib/zlib.h     | 452 ++++++++++++++++--------
 dlib/external/zlib/zutil.c    |  49 +--
 dlib/external/zlib/zutil.h    |  52 ++-
 21 files changed, 1574 insertions(+), 965 deletions(-)

Revision: bec25d82478eb9f8fc3b
Author: Adrià Arrufat
Date: Aug 04, 2021 (28:59:42 UTC)

Fix running gradient crashing sometimes (#2401)

 dlib/dnn/trainer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 16500906b0cdcb51a09d
Author: Adrià Arrufat
Date: Jul 30, 2021 (18:05:54 UTC)

YOLO loss (#2376)

 dlib/data_io/image_dataset_metadata.cpp            |  11 +-
 dlib/data_io/image_dataset_metadata.h              |   4 +-
 dlib/dnn/loss.h                                    | 523 ++++++++++++++++++++
 dlib/dnn/loss_abstract.h                           | 185 +++++++-
 dlib/image_processing/full_object_detection.h      |  54 +++
 .../full_object_detection_abstract.h               |  45 +-
 dlib/image_transforms/random_cropper.h             |  65 ++-
 dlib/image_transforms/random_cropper_abstract.h    |  68 ++-
 examples/CMakeLists.txt                            |   1 +
 examples/dnn_yolo_train_ex.cpp                     | 526 +++++++++++++++++++++
 examples/faces/testing.xml                         |  12 +-
 examples/faces/testing_with_face_landmarks.xml     |  15 +-
 examples/faces/training.xml                        |   8 +-
 examples/faces/training_with_face_landmarks.xml    |  13 +-
 tools/imglab/src/cluster.cpp                       |   2 +
 tools/imglab/src/main.cpp                          |  49 +-
 tools/imglab/src/metadata_editor.cpp               |   9 +
 17 files changed, 1519 insertions(+), 71 deletions(-)

Revision: 951fdd0092d5a0e36029
Author: Adrià Arrufat
Date: Jul 27, 2021 (18:46:36 UTC)

return the projective transform in extract_image_4points (#2395)

 dlib/image_transforms/interpolation.h          | 9 +++++----
 dlib/image_transforms/interpolation_abstract.h | 8 ++++++--
 2 files changed, 11 insertions(+), 6 deletions(-)

Revision: b850f0e524de45c82183
Author: Adrià Arrufat
Date: Jul 22, 2021 (30:00:55 UTC)

Add LayerNorm documentation (#2393)

 dlib/cuda/tensor_tools.h | 37 +++++++++++++++++++++++++++++++++++--
 1 file changed, 35 insertions(+), 2 deletions(-)

Revision: e64ea42f6f5a6b5f2ca5
Author: Davis King
Date: Jul 15, 2021 (18:29:27 UTC)

remove dead code

 dlib/image_loader/image_loader.h | 30 ------------------------------
 1 file changed, 30 deletions(-)

Revision: 7d8c6a11418bf6e29758
Author: frostbane
Date: Jun 30, 2021 (30:43:43 UTC)

Fix cannot compile iso only code (#579) (#2384)

 dlib/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Revision: 973de8ac734a2f2cb07e
Author: Adrià Arrufat
Date: May 12, 2021 (29:05:44 UTC)

Fix disable_duplicative_biases when the input is a skip layer (#2367)

 dlib/dnn/layers.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

Revision: 4a51017c2eed208772ae
Author: Adrià Arrufat
Date: May 12, 2021 (18:08:49 UTC)

Make Travis read the CXXFLAGS enviroment variable (#2366)

 dlib/travis/build-and-test.sh | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

Revision: b99bec580b7d862ab0c5
Author: Adrià Arrufat
Date: May 11, 2021 (30:00:02 UTC)

Fix serialize variant with C++17 (#2365)

 dlib/serialize.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 9697fa5de21e1acd26e5
Author: pfeatherstone
Date: May 11, 2021 (13:56:34 UTC)

[SERIALIZATION] support for std::optional (#2364)

 dlib/serialize.h        | 26 ++++++++++++++++++++++++++
 dlib/test/serialize.cpp | 12 +++++++-----
 2 files changed, 33 insertions(+), 5 deletions(-)

Revision: 11212a94b42c3bff0a34
Author: pfeatherstone
Date: May 10, 2021 (15:04:29 UTC)

[SERIALIZATION] added support for std::variant (#2362)

 dlib/serialize.h        | 58 +++++++++++++++++++++++++++++++++++++++++++++++++
 dlib/test/serialize.cpp | 32 +++++++++++++++++++++++++--
 2 files changed, 88 insertions(+), 2 deletions(-)

Revision: a54507d81bcbc32d592b
Author: Davis King
Date: May 01, 2021 (13:32:53 UTC)

suppress spurious warning

 dlib/test/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

Revision: 273d59435fcfaf9ebe3a
Author: Davis King
Date: May 01, 2021 (13:04:59 UTC)

fix comment formatting

 dlib/matrix/fft_size.h | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

Revision: cd17f324eb1de9e335c6
Author: Davis King
Date: May 01, 2021 (13:04:36 UTC)

fix warnings about possible use of uninitialized values

 dlib/matrix/fft_size.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 1de47514bdf104d5b5a7
Author: Davis King
Date: May 01, 2021 (10:46:47 UTC)

Make input_layer() work with networks that contain repeat layers.

 dlib/dnn/core.h            | 121 ++++++++++++++++++++++++++-------------------
 dlib/dnn/core_abstract.h   |  72 +++++++++++++++++++++++++--
 dlib/dnn/layers_abstract.h |  20 ++++++++
 3 files changed, 156 insertions(+), 57 deletions(-)

Revision: ded68b9af733005499fb
Author: Davis King
Date: Apr 28, 2021 (04:05:22 UTC)

Cleanup gcc version checking code a little.

 dlib/CMakeLists.txt                                  | 5 -----
 dlib/cmake_utils/set_compiler_specific_options.cmake | 4 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)

Revision: 8e9755ab0f0825988c49
Author: Adrià Arrufat
Date: Apr 27, 2021 (29:03:32 UTC)

do not attempt to build with gcc 4.8.5 or older (#2357)

 dlib/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

Revision: a051a6542096d857a1a1
Author: pfeatherstone
Date: Apr 23, 2021 (14:42:43 UTC)

std_vector.h : making traits compatible with C++20

 dlib/stl_checked/std_vector_c.h          | 16 ++++++++--------
 dlib/stl_checked/std_vector_c_abstract.h | 24 ++++++++++++------------
 2 files changed, 20 insertions(+), 20 deletions(-)

Revision: d6d1a9e879142d7a2ee8
Author: pfeatherstone
Date: Apr 22, 2021 (03:57:35 UTC)

[TYPE_SAFE_UNION] use std::aligned_union instead of stack_based_memory_block (#2349)

 dlib/algs.h                                   |  17 ++++
 dlib/type_safe_union/type_safe_union_kernel.h | 123 +++++++++-----------------
 2 files changed, 57 insertions(+), 83 deletions(-)

Revision: 8d4df7c0b3fa7c4c1e41
Author: chokomancarr
Date: Apr 14, 2021 (28:51:49 UTC)

remove a unicode character (#2347)

 dlib/image_transforms/morphological_operations.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 269a3ed1e6a12c3613c4
Author: Davis King
Date: Apr 13, 2021 (19:00:44 UTC)

fix incorrect docs about what gradient is computed

 dlib/cuda/tensor_tools.h | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Revision: 92106718bf7519b0b5a4
Author: Adrià Arrufat
Date: Apr 14, 2021 (20:58:30 UTC)

Make ELU an inplace layer and fix Clipped ReLU implementation (#2346)

 dlib/cuda/cpu_dlib.cpp     |  4 ++--
 dlib/cuda/cuda_dlib.cu     | 12 +++++++-----
 dlib/dnn/layers.h          | 17 ++++++-----------
 dlib/dnn/layers_abstract.h |  4 ++--
 dlib/test/dnn.cpp          | 12 ++++++------
 5 files changed, 23 insertions(+), 26 deletions(-)

Revision: 7f53d7feb671d5c2da4a
Author: Adrià Arrufat
Date: Apr 13, 2021 (19:49:49 UTC)

Make clipped-relu inplace and fix docs for elu (#2345)

 dlib/dnn/layers.h          | 17 ++++++-----------
 dlib/dnn/layers_abstract.h |  4 ++--
 2 files changed, 8 insertions(+), 13 deletions(-)

Revision: 1b7c7a64112fb0d2a7d6
Author: Adrià Arrufat
Date: Apr 12, 2021 (29:59:06 UTC)

Add Clipped ReLU and ELU activations (#2285)

 dlib/cuda/cpu_dlib.cpp      |  92 ++++++++++++++++++++++++
 dlib/cuda/cpu_dlib.h        |  30 ++++++++
 dlib/cuda/cuda_dlib.cu      | 121 +++++++++++++++++++++++++++++++
 dlib/cuda/cuda_dlib.h       |  30 ++++++++
 dlib/cuda/cudnn_dlibapi.cpp |   5 +-
 dlib/cuda/cudnn_dlibapi.h   |   2 +-
 dlib/cuda/tensor_tools.cpp  |  58 +++++++++++++++
 dlib/cuda/tensor_tools.h    |  79 +++++++++++++++++++++
 dlib/dnn/layers.h           | 168 ++++++++++++++++++++++++++++++++++++++++++++
 dlib/dnn/layers_abstract.h  | 100 ++++++++++++++++++++++++++
 dlib/test/dnn.cpp           | 107 +++++++++++++++++++++++++---
 11 files changed, 781 insertions(+), 11 deletions(-)

Revision: 0ffe9c4c40a77506c8b4
Author: Adrià Arrufat
Date: Apr 05, 2021 (11:31:08 UTC)

Fix input/output mappings with repeat layers (#2337)

 dlib/dnn/utilities.h | 18 ++++++++++++++++++
 dlib/test/dnn.cpp    | 15 +++++++++++++++
 2 files changed, 33 insertions(+)

Revision: a4713b591f78b91dc148
Author: Adrià Arrufat
Date: Apr 05, 2021 (11:27:32 UTC)

Add letterbox image (#2335)

 dlib/image_transforms/interpolation.h          | 64 ++++++++++++++++++
 dlib/image_transforms/interpolation_abstract.h | 89 ++++++++++++++++++++++++++
 dlib/test/image.cpp                            | 24 +++++++
 3 files changed, 177 insertions(+)

Revision: 01e6fd51f990bb8bbb9e
Author: Davis King
Date: Mar 28, 2021 (05:22:07 UTC)

Record last changeset and set PATCH version to 99

 dlib/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Revision: 70ea028f12e10f4d992a
Author: Davis King
Date: Mar 28, 2021 (05:17:49 UTC)

Created release v19.22

 dlib/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)