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
2639a523
"tests/git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "9d6c7b6ad0182556a3714a2f393b0bdd076cb833"
Commit
2639a523
authored
Jan 04, 2016
by
Davis King
Browse files
Improved outputs from test_layer().
parent
fb49f0ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dlib/dnn/core.h
dlib/dnn/core.h
+2
-0
No files found.
dlib/dnn/core.h
View file @
2639a523
...
...
@@ -2569,6 +2569,7 @@ namespace dlib
sout
<<
"Gradient error in parameter #"
<<
i
<<
". Relative error: "
<<
relative_error
<<
endl
;
sout
<<
"expected derivative: "
<<
reference_derivative
<<
endl
;
sout
<<
"output derivative: "
<<
output_derivative
<<
endl
;
sout
<<
"iteration: "
<<
iter
<<
endl
;
return
layer_test_results
(
sout
.
str
());
}
}
...
...
@@ -2606,6 +2607,7 @@ namespace dlib
sout
<<
"Gradient error in data variable #"
<<
i
<<
". Relative error: "
<<
relative_error
<<
endl
;
sout
<<
"expected derivative: "
<<
reference_derivative
<<
endl
;
sout
<<
"output derivative: "
<<
output_derivative
<<
endl
;
sout
<<
"iteration: "
<<
iter
<<
endl
;
return
layer_test_results
(
sout
.
str
());
}
}
...
...
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