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
f42b4ad2
Commit
f42b4ad2
authored
Mar 26, 2016
by
Davis King
Browse files
Fixed bug in add_tag_layer that prevented it from working when placed
immediately after the input layer.
parent
5165ae1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/dnn/core.h
dlib/dnn/core.h
+1
-1
No files found.
dlib/dnn/core.h
View file @
f42b4ad2
...
...
@@ -1580,7 +1580,7 @@ namespace dlib
public:
typedef
INPUT_LAYER
subnet_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
;
static_assert
(
sample_expansion_factor
>=
1
,
"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