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
51ebcfc7
"vscode:/vscode.git/clone" did not exist on "19426ea4292e06912b25b61d39e6a49f1d19faa4"
Commit
51ebcfc7
authored
Nov 06, 2015
by
Davis King
Browse files
Said backward() is allowed to reuse computations cached during the forward() computation.
parent
91f512ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dlib/dnn/layers_abstract.h
dlib/dnn/layers_abstract.h
+3
-0
No files found.
dlib/dnn/layers_abstract.h
View file @
51ebcfc7
...
...
@@ -177,6 +177,9 @@ namespace dlib
- SUBNET implements the SUBNET interface defined at the top of this file.
- setup() has been called.
- computed_output is the tensor resulting from calling forward(sub,computed_output).
Moreover, this was the most recent call to forward(). This means that
backward() is allowed to cache intermediate results computed during
forward() and use them for the backward computation.
- have_same_dimensions(gradient_input, computed_output)
- have_same_dimensions(sub.get_gradient_input(), sub.get_output()) == true
- have_same_dimensions(params_grad, get_layer_params()) == true
...
...
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