Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
f01f02b2
Commit
f01f02b2
authored
Aug 06, 2016
by
Davis King
Browse files
Added more testing messages
parent
2dd89e3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
dlib/test/dnn.cpp
dlib/test/dnn.cpp
+6
-1
No files found.
dlib/test/dnn.cpp
View file @
f01f02b2
...
...
@@ -897,7 +897,12 @@ namespace
DLIB_TEST
(
max
(
abs
(
mat
(
means
)
-
mat
(
means2
)))
<
1e-4
);
DLIB_TEST
(
max
(
abs
(
mat
(
invstds
)
-
mat
(
invstds2
)))
<
1e-4
);
DLIB_TEST
(
max
(
abs
(
mat
(
running_means
)
-
mat
(
running_means2
)))
<
1e-4
);
DLIB_TEST
(
max
(
abs
(
mat
(
running_variances
)
-
mat
(
running_variances2
)))
<
1e-4
);
DLIB_TEST_MSG
(
max
(
abs
(
mat
(
running_variances
)
-
mat
(
running_variances2
)))
<
1e-4
,
mean
(
mat
(
running_variances
))
<<
"
\n
"
<<
mean
(
mat
(
running_variances2
))
<<
"
\n
"
<<
max
(
abs
(
mat
(
running_variances
)
-
mat
(
running_variances2
)))
<<
"
\n
"
<<
mean
(
abs
(
mat
(
running_variances
)
-
mat
(
running_variances2
)))
);
// now check that the gradients match as well
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment