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
bdaf50aa
Commit
bdaf50aa
authored
Jan 31, 2018
by
Davis King
Browse files
Fixed cont_ layers not printing the correct num_filters parameter when they are
printed to cout or xml.
parent
1719f51e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/dnn/layers.h
dlib/dnn/layers.h
+2
-2
No files found.
dlib/dnn/layers.h
View file @
bdaf50aa
...
@@ -577,7 +577,7 @@ namespace dlib
...
@@ -577,7 +577,7 @@ namespace dlib
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
cont_
&
item
)
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
cont_
&
item
)
{
{
out
<<
"cont
\t
("
out
<<
"cont
\t
("
<<
"num_filters="
<<
_
num_filters
<<
"num_filters="
<<
item
.
num_filters
_
<<
", nr="
<<
_nr
<<
", nr="
<<
_nr
<<
", nc="
<<
_nc
<<
", nc="
<<
_nc
<<
", stride_y="
<<
_stride_y
<<
", stride_y="
<<
_stride_y
...
@@ -595,7 +595,7 @@ namespace dlib
...
@@ -595,7 +595,7 @@ namespace dlib
friend
void
to_xml
(
const
cont_
&
item
,
std
::
ostream
&
out
)
friend
void
to_xml
(
const
cont_
&
item
,
std
::
ostream
&
out
)
{
{
out
<<
"<cont"
out
<<
"<cont"
<<
" num_filters='"
<<
_
num_filters
<<
"'"
<<
" num_filters='"
<<
item
.
num_filters
_
<<
"'"
<<
" nr='"
<<
_nr
<<
"'"
<<
" nr='"
<<
_nr
<<
"'"
<<
" nc='"
<<
_nc
<<
"'"
<<
" nc='"
<<
_nc
<<
"'"
<<
" stride_y='"
<<
_stride_y
<<
"'"
<<
" stride_y='"
<<
_stride_y
<<
"'"
...
...
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