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
80850327
Commit
80850327
authored
Sep 26, 2015
by
Davis King
Browse files
clarified spec
parent
faf62690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dlib/dnn/input_abstract.h
dlib/dnn/input_abstract.h
+4
-4
No files found.
dlib/dnn/input_abstract.h
View file @
80850327
...
@@ -44,10 +44,10 @@ namespace dlib
...
@@ -44,10 +44,10 @@ namespace dlib
ensures
ensures
- Constructs this object from item. This form of constructor is optional
- Constructs this object from item. This form of constructor is optional
but it allows you to provide a conversion from one input layer type to
but it allows you to provide a conversion from one input layer type to
another. For example, the following code is valid only if my_input2 can
another. For example, the following code is valid only if my_input
_layer
2 can
be constructed from my_input1:
be constructed from my_input
_layer
1:
relu<fc<relu<fc<my_input1>>>> my_dnn1;
relu<fc<relu<fc<my_input
_layer
1>>>> my_dnn1;
relu<fc<relu<fc<my_input2>>>> my_dnn2(my_dnn1);
relu<fc<relu<fc<my_input
_layer
2>>>> my_dnn2(my_dnn1);
This kind of pattern is useful if you want to use one type of input layer
This kind of pattern is useful if you want to use one type of input layer
during training but a different type of layer during testing since it
during training but a different type of layer during testing since it
allows you to easily convert between related deep neural network types.
allows you to easily convert between related deep neural network types.
...
...
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