From f1a29f3595d663c186a4eafeabb6157c0d1efcdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adri=C3=A0=20Arrufat?=
<1671644+arrufat@users.noreply.github.com>
Date: Mon, 14 Mar 2022 21:39:42 +0900
Subject: [PATCH] Update docs (#2544)
* Update docs
* escape & in git_logs_as_xml
---
docs/bash_helper_functions | 2 +-
docs/docs/release_notes.xml | 20 +++++++++++++++++++-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/docs/bash_helper_functions b/docs/bash_helper_functions
index ed6dd2a8a..9e9d3e1b5 100755
--- a/docs/bash_helper_functions
+++ b/docs/bash_helper_functions
@@ -35,7 +35,7 @@ git_logs_as_xml()
(echo ""; git log --stat=80 --date=iso-strict --pretty=format:"%n%n%an%n%ad%nGIT_COMMIT_MESSAGE_BEGIN%sGIT_COMMIT_MESSAGE_END%n%n" $logrange $paths | tail -n+2 ; echo; echo '' ; echo "" ) > $outfile
# sanitize git commit messages
- sed -e '/GIT_COMMIT_MESSAGE_BEGIN.*GIT_COMMIT_MESSAGE_END/ { s/\</g; s/>/\>/g; s/GIT_COMMIT_MESSAGE_BEGIN//g; s/GIT_COMMIT_MESSAGE_END/<\/msg>/g; }' -i $outfile
+ sed -e '/GIT_COMMIT_MESSAGE_BEGIN.*GIT_COMMIT_MESSAGE_END/ { s/\</g; s/>/\>/g; s/&/&/g; s/GIT_COMMIT_MESSAGE_BEGIN//g; s/GIT_COMMIT_MESSAGE_END/<\/msg>/g; }' -i $outfile
# trim whitespace at start and end of tags.
sed -e ':a' -e 'N' -e '$!ba' -e "s/[ \n]*/ /g" -e "s/[ \n]*<\/files_changed>/<\/files_changed>/g" -i $outfile
diff --git a/docs/docs/release_notes.xml b/docs/docs/release_notes.xml
index 6f215d88a..0548c9ba1 100644
--- a/docs/docs/release_notes.xml
+++ b/docs/docs/release_notes.xml
@@ -11,6 +11,24 @@
+New Features and Improvements:
+ - Added Beta distribution to dlib::rand.
+ - Deep learning tooling:
+ - Added ReOrg layer.
+ - Added visitor to draw network architectures using the DOT language.
+ - Made Barlow Twins loss much faster for high dimensionality inputs.
+
+Non-Backwards Compatible Changes:
+ - Do not round coordinates in rectangle_transform (PR #2498).
+
+Bug fixes:
+ - Fix missing ssize_t definition on Windows (PR #2492)
+ - Fix Barlow Twins loss gradient (PR #2518)
+
+
+
+
+
New Features and Improvements:
- Added serialization support for std::variant and std::optional.
- Added upgrades to dlib::type_safe_union: type_safe_union_size, type_safe_union_alternative_t,
@@ -35,7 +53,7 @@ Bug fixes:
- Fix trainer with unsupervised loss (PR #2436)
- Fix dnn_trainer trying to decrease the learning rate (PR #2442)
- Fix Layer Normalize (PR #2489)
-
+