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
6ffdf802
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "0df6765c83e2ea1263295812e0979aa6801377c0"
Commit
6ffdf802
authored
Oct 16, 2017
by
Davis King
Browse files
suppress compiler warnings
parent
5b4206f9
Changes
1
Show 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 @
6ffdf802
...
...
@@ -1470,7 +1470,7 @@ namespace dlib
template
<
typename
SUBNET
>
void
forward
(
const
SUBNET
&
sub
,
resizable_tensor
&
output
)
{
DLIB_CASSERT
(
num_inputs
==
sub
.
get_output
().
nr
()
*
sub
.
get_output
().
nc
()
*
sub
.
get_output
().
k
(),
DLIB_CASSERT
(
(
long
)
num_inputs
==
sub
.
get_output
().
nr
()
*
sub
.
get_output
().
nc
()
*
sub
.
get_output
().
k
(),
"The size of the input tensor to this fc layer doesn't match the size the fc layer was trained with."
);
output
.
set_size
(
sub
.
get_output
().
num_samples
(),
num_outputs
);
...
...
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