Commit 7991275e authored by Davis King's avatar Davis King

Fixed a bug in the max_pool serialization functions.

parent c48a6af8
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment