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
7991275e
Commit
7991275e
authored
Dec 31, 2015
by
Davis King
Browse files
Fixed a bug in the max_pool serialization functions.
parent
c48a6af8
Changes
1
Hide 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 @
7991275e
...
...
@@ -265,7 +265,7 @@ namespace dlib
serialize
(
item
.
_nr
,
out
);
serialize
(
item
.
_nc
,
out
);
serialize
(
item
.
_stride_y
,
out
);
serialize
(
item
.
_stride_
y
,
out
);
serialize
(
item
.
_stride_
x
,
out
);
}
friend
void
deserialize
(
max_pool_
&
item
,
std
::
istream
&
in
)
...
...
@@ -277,7 +277,7 @@ namespace dlib
deserialize
(
item
.
_nr
,
in
);
deserialize
(
item
.
_nc
,
in
);
deserialize
(
item
.
_stride_y
,
in
);
deserialize
(
item
.
_stride_
y
,
in
);
deserialize
(
item
.
_stride_
x
,
in
);
item
.
mp
.
setup_max_pooling
(
item
.
_nr
,
item
.
_nc
,
item
.
_stride_y
,
item
.
_stride_x
);
}
...
...
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