2019-09-07 02:46:09 +08:00
|
|
|
diff --git a/tensorflow/core/platform/default/logging.h b/tensorflow/core/platform/default/logging.h
|
|
|
|
--- a/tensorflow/core/platform/default/logging.h
|
|
|
|
+++ b/tensorflow/core/platform/default/logging.h
|
2022-10-22 01:32:45 +08:00
|
|
|
@@ -104,13 +104,13 @@ class LogMessageNull : public std::basic_ostringstream<char> {
|
2019-09-07 02:46:09 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#define _TF_LOG_INFO \
|
|
|
|
- ::tensorflow::internal::LogMessage(__FILE__, __LINE__, ::tensorflow::INFO)
|
|
|
|
+ tensorflow::internal::LogMessage(__FILE__, __LINE__, tensorflow::INFO)
|
|
|
|
#define _TF_LOG_WARNING \
|
|
|
|
- ::tensorflow::internal::LogMessage(__FILE__, __LINE__, ::tensorflow::WARNING)
|
|
|
|
+ tensorflow::internal::LogMessage(__FILE__, __LINE__, tensorflow::WARNING)
|
|
|
|
#define _TF_LOG_ERROR \
|
|
|
|
- ::tensorflow::internal::LogMessage(__FILE__, __LINE__, ::tensorflow::ERROR)
|
|
|
|
+ tensorflow::internal::LogMessage(__FILE__, __LINE__, tensorflow::ERROR)
|
|
|
|
#define _TF_LOG_FATAL \
|
|
|
|
- ::tensorflow::internal::LogMessageFatal(__FILE__, __LINE__)
|
|
|
|
+ tensorflow::internal::LogMessageFatal(__FILE__, __LINE__)
|
|
|
|
|
|
|
|
#define _TF_LOG_QFATAL _TF_LOG_FATAL
|
|
|
|
|