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
1b2cdf3c
Commit
1b2cdf3c
authored
Oct 28, 2017
by
Davis King
Browse files
Suppress compiler warning
parent
ed897428
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/dnn/layers.h
dlib/dnn/layers.h
+1
-1
No files found.
dlib/dnn/layers.h
View file @
1b2cdf3c
...
...
@@ -1451,7 +1451,7 @@ namespace dlib
void
set_num_outputs
(
long
num
)
{
DLIB_CASSERT
(
num
>
0
);
if
(
num
!=
num_outputs
)
if
(
num
!=
(
long
)
num_outputs
)
{
DLIB_CASSERT
(
get_layer_params
().
size
()
==
0
,
"You can't change the number of filters in fc_ if the parameter tensor has already been allocated."
);
...
...
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