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
fb6eca2b
Commit
fb6eca2b
authored
Feb 17, 2014
by
Davis King
Browse files
clarified spec
parent
7d35e257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dlib/mlp/mlp_kernel_abstract.h
dlib/mlp/mlp_kernel_abstract.h
+4
-0
No files found.
dlib/mlp/mlp_kernel_abstract.h
View file @
fb6eca2b
...
@@ -131,6 +131,7 @@ namespace dlib
...
@@ -131,6 +131,7 @@ namespace dlib
requires
requires
- in.nr() == input_layer_nodes()
- in.nr() == input_layer_nodes()
- in.nc() == 1
- in.nc() == 1
- EXP::type == double
ensures
ensures
- returns the output of the network when it is given the
- returns the output of the network when it is given the
input in. The output's elements are always in the range
input in. The output's elements are always in the range
...
@@ -149,6 +150,8 @@ namespace dlib
...
@@ -149,6 +150,8 @@ namespace dlib
- example_out.nr() == output_layer_nodes()
- example_out.nr() == output_layer_nodes()
- example_out.nc() == 1
- example_out.nc() == 1
- max(example_out) <= 1.0 && min(example_out) >= 0.0
- max(example_out) <= 1.0 && min(example_out) >= 0.0
- EXP1::type == double
- EXP2::type == double
ensures
ensures
- trains the network that the correct output when given example_in
- trains the network that the correct output when given example_in
should be example_out.
should be example_out.
...
@@ -165,6 +168,7 @@ namespace dlib
...
@@ -165,6 +168,7 @@ namespace dlib
- example_in.nc() == 1
- example_in.nc() == 1
- output_layer_nodes() == 1
- output_layer_nodes() == 1
- example_out <= 1.0 && example_out >= 0.0
- example_out <= 1.0 && example_out >= 0.0
- EXP::type == double
ensures
ensures
- trains the network that the correct output when given example_in
- trains the network that the correct output when given example_in
should be example_out.
should be example_out.
...
...
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