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
c48d0973
Commit
c48d0973
authored
Apr 15, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed grammar in some comments
parent
13bc3880
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core.h
dlib/dnn/core.h
+2
-2
No files found.
dlib/dnn/core.h
View file @
c48d0973
...
...
@@ -42,7 +42,7 @@ namespace dlib
// ----------------------------------------------------------------------------------------
// Tell us if T is one of the special layer types (i.e. add_layer, add_tag_layer, or
// Tell us if T is one of the special layer types (i.e. add_layer,
repeat,
add_tag_layer, or
// add_skip_layer).
template
<
typename
T
>
struct
is_nonloss_layer_type
:
std
::
false_type
{};
// Tell us if T is an instance of add_loss_layer.
...
...
@@ -1330,7 +1330,7 @@ namespace dlib
template
<
size_t
N
,
template
<
typename
>
class
L
,
typename
S
>
friend
class
repeat
;
// You wou
dl
n't put a tag on a layer if you didn't want to access its forward
// You wou
ld
n't put a tag on a layer if you didn't want to access its forward
// outputs. So this is always true.
bool
this_layer_requires_forward_output
(
)
{
return
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