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
f42b4ad2
Commit
f42b4ad2
authored
Mar 27, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in add_tag_layer that prevented it from working when placed
immediately after the input layer.
parent
5165ae1b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core.h
dlib/dnn/core.h
+1
-1
No files found.
dlib/dnn/core.h
View file @
f42b4ad2
...
@@ -1580,7 +1580,7 @@ namespace dlib
...
@@ -1580,7 +1580,7 @@ namespace dlib
public
:
public
:
typedef
INPUT_LAYER
subnet_type
;
typedef
INPUT_LAYER
subnet_type
;
typedef
typename
subnet_type
::
input_type
input_type
;
typedef
typename
subnet_type
::
input_type
input_type
;
const
static
size_t
num_layers
=
0
;
const
static
size_t
num_layers
=
1
;
const
static
unsigned
int
sample_expansion_factor
=
subnet_type
::
sample_expansion_factor
;
const
static
unsigned
int
sample_expansion_factor
=
subnet_type
::
sample_expansion_factor
;
static_assert
(
sample_expansion_factor
>=
1
,
static_assert
(
sample_expansion_factor
>=
1
,
"The input layer can't produce fewer output tensors than there are inputs."
);
"The input layer can't produce fewer output tensors than there are inputs."
);
...
...
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