quiet_session.h
Go to the documentation of this file.
1 #ifndef larrecodnn_ImagePatternAlgs_Tensorflow_quiet_session_h
2 #define larrecodnn_ImagePatternAlgs_Tensorflow_quiet_session_h
3 
4 // TensorFlow has sign-comparison issues in their session header.
5 // This file should be included to disable such warnings.
6 
7 #pragma GCC diagnostic push
8 #pragma GCC diagnostic ignored "-Wsign-compare"
9 #include "tensorflow/core/public/session.h"
10 #pragma GCC diagnostic pop
11 
12 #endif /* larrecodnn_ImagePatternAlgs_Tensorflow_quiet_session_h */