"git@developer.sourcefind.cn:OpenDAS/dlib.git" did not exist on "ba37c88fbf8c3bb8739294c532afb470edbf7f05"
Commit 6ffdf802 authored by Davis King's avatar Davis King
Browse files

suppress compiler warnings

parent 5b4206f9
...@@ -1470,7 +1470,7 @@ namespace dlib ...@@ -1470,7 +1470,7 @@ namespace dlib
template <typename SUBNET> template <typename SUBNET>
void forward(const SUBNET& sub, resizable_tensor& output) 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."); "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); output.set_size(sub.get_output().num_samples(), num_outputs);
......
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