Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
fd4ef8ff
Commit
fd4ef8ff
authored
Mar 20, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding clarifications to spec which were pointed out by Scott Richardson.
parent
aaf8998e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
core_abstract.h
dlib/dnn/core_abstract.h
+3
-3
layers_abstract.h
dlib/dnn/layers_abstract.h
+6
-2
tensor_abstract.h
dlib/dnn/tensor_abstract.h
+2
-2
No files found.
dlib/dnn/core_abstract.h
View file @
fd4ef8ff
...
...
@@ -242,7 +242,7 @@ namespace dlib
);
/*!
ensures
- #layer_details() == layer_det
ails_type(layer_det)
- #layer_details() == layer_det
- #subnet() == subnet_type(args)
!*/
...
...
@@ -562,7 +562,7 @@ namespace dlib
);
/*!
ensures
- #loss_details() == l
oss_details_type(layer_det)
- #loss_details() == l
ayer_det
- #subnet() == subnet_type(args)
!*/
...
...
@@ -573,7 +573,7 @@ namespace dlib
);
/*!
ensures
- #loss_details() == l
oss_details_type(layer_det)
- #loss_details() == l
ayer_det
- #subnet() == subnet_type(args)
!*/
...
...
dlib/dnn/layers_abstract.h
View file @
fd4ef8ff
...
...
@@ -30,7 +30,11 @@ namespace dlib
\__ subnetwork for layer1 __/
Therefore, by "subnetwork" we mean the part of the network closer to the
input.
input.
Note that there is no dlib::SUBNET type. It is shown here purely to
document the interface layer objects expect to see when they interact
with a network.
!*/
public
:
...
...
@@ -207,7 +211,7 @@ namespace dlib
Moreover, this was the most recent call to forward(). This means that
forward() is allowed to cache intermediate results so they can be used
during the backward computation.
- have_same_dimensions(gradient_input, computed_output)
- have_same_dimensions(gradient_input, computed_output)
== true
- have_same_dimensions(sub.get_gradient_input(), sub.get_output()) == true
- have_same_dimensions(params_grad, get_layer_params()) == true
ensures
...
...
dlib/dnn/tensor_abstract.h
View file @
fd4ef8ff
...
...
@@ -446,7 +446,7 @@ namespace dlib
!*/
};
void
serialize
(
const
tensor
&
item
,
std
::
ostream
&
out
)
void
serialize
(
const
tensor
&
item
,
std
::
ostream
&
out
)
;
void
deserialize
(
resizable_tensor
&
item
,
std
::
istream
&
in
);
/*!
provides serialization support for tensor and resizable_tensor. Note that you can
...
...
@@ -553,7 +553,7 @@ namespace dlib
!*/
};
void
serialize
(
const
alias_tensor
&
item
,
std
::
ostream
&
out
)
void
serialize
(
const
alias_tensor
&
item
,
std
::
ostream
&
out
)
;
void
deserialize
(
alias_tensor
&
item
,
std
::
istream
&
in
);
/*!
provides serialization support for alias_tensor.
...
...
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