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
cc387727
Commit
cc387727
authored
Jun 22, 2016
by
Fm
Browse files
#pragma warning moved to dnn.h
parent
2e741703
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
12 deletions
+6
-12
dlib/dnn.h
dlib/dnn.h
+6
-0
examples/dnn_inception_ex.cpp
examples/dnn_inception_ex.cpp
+0
-6
examples/dnn_mnist_advanced_ex.cpp
examples/dnn_mnist_advanced_ex.cpp
+0
-6
No files found.
dlib/dnn.h
View file @
cc387727
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
#ifndef DLIB_DNn_
#ifndef DLIB_DNn_
#define DLIB_DNn_
#define DLIB_DNn_
// DNN module uses template-based network declaration that leads to very long
// type names. Visual Studio will produce Warning C4503 in such cases
#ifdef _MSC_VER
# pragma warning( disable: 4503 )
#endif
#include "dnn/tensor.h"
#include "dnn/tensor.h"
#include "dnn/input.h"
#include "dnn/input.h"
#include "dnn/layers.h"
#include "dnn/layers.h"
...
...
examples/dnn_inception_ex.cpp
View file @
cc387727
...
@@ -23,12 +23,6 @@
...
@@ -23,12 +23,6 @@
the IEEE Conference on Computer Vision and Pattern Recognition. 2015.
the IEEE Conference on Computer Vision and Pattern Recognition. 2015.
*/
*/
// DNN module uses template-based network declaration that leads to very long
// type names. Visual Studio will produce Warning C4503 in such cases
#ifdef _MSC_VER
# pragma warning( disable: 4503 )
#endif
#include <dlib/dnn.h>
#include <dlib/dnn.h>
#include <iostream>
#include <iostream>
#include <dlib/data_io.h>
#include <dlib/data_io.h>
...
...
examples/dnn_mnist_advanced_ex.cpp
View file @
cc387727
...
@@ -10,12 +10,6 @@
...
@@ -10,12 +10,6 @@
- Accessing and configuring layers in a network
- Accessing and configuring layers in a network
*/
*/
// DNN module uses template-based network declaration that leads to very long
// type names. Visual Studio will produce Warning C4503 in such cases
#ifdef _MSC_VER
# pragma warning( disable: 4503 )
#endif
#include <dlib/dnn.h>
#include <dlib/dnn.h>
#include <iostream>
#include <iostream>
#include <dlib/data_io.h>
#include <dlib/data_io.h>
...
...
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