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
d2545493
Commit
d2545493
authored
Apr 16, 2016
by
Davis King
Browse files
renamed EXAMPLE_LAYER_ to EXAMPLE_COMPUTATIONAL_LAYER_
parent
79adbae2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
105 deletions
+109
-105
dlib/dnn/core_abstract.h
dlib/dnn/core_abstract.h
+5
-5
dlib/dnn/layers_abstract.h
dlib/dnn/layers_abstract.h
+104
-100
No files found.
dlib/dnn/core_abstract.h
View file @
d2545493
...
...
@@ -181,8 +181,8 @@ namespace dlib
{
/*!
REQUIREMENTS ON LAYER_DETAILS
- Must be a type that implements the EXAMPLE_LAYER_ interface
defined in
layers_abstract.h
- Must be a type that implements the EXAMPLE_
COMPUTATIONAL_
LAYER_ interface
defined in
layers_abstract.h
REQUIREMENTS ON SUBNET
- One of the following must be true:
...
...
@@ -1272,9 +1272,9 @@ namespace dlib
);
/*!
ensures
- Checks if l correctly implements the EXAMPLE_LAYER_ interface
defined in
layers_abstract.h. Importantly, it computes numerical approximations
to the
gradients and compares them to the outputs of the layer.
- Checks if l correctly implements the EXAMPLE_
COMPUTATIONAL_
LAYER_ interface
defined in
layers_abstract.h. Importantly, it computes numerical approximations
to the
gradients and compares them to the outputs of the layer.
- The results of the testing are returned. In particular, if the returned object
is RESULT then we will have:
- RESULT.was_good == false if and only if the layer failed the testing.
...
...
dlib/dnn/layers_abstract.h
View file @
d2545493
This diff is collapsed.
Click to expand it.
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