提交 579e5912 编写于 作者: Y Yu Yang

Try to fix unittest error

上级 6ea5a9fd
......@@ -14,7 +14,7 @@ limitations under the License. */
#ifndef HL_TIME_H_
#define HL_TIME_H_
#include <cstdint>
/**
* @brief High resolution timer.
*
......
......@@ -15,6 +15,7 @@ limitations under the License. */
#include "hl_time.h"
#include <stdlib.h>
#include <chrono>
#include <cstdint>
#include <iostream>
using std::chrono::high_resolution_clock;
......
......@@ -25,7 +25,6 @@ limitations under the License. */
#include "Locks.h"
#include "Logging.h"
#include "Stat.h"
#include "ThreadLocal.h"
namespace paddle {
......
......@@ -13,6 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. */
#pragma once
// clang-format off
#include "paddle/utils/Util.h"
#ifndef PADDLE_NO_PYTHON
// must include the following two blocks, otherwise,
......@@ -33,13 +35,12 @@ limitations under the License. */
#endif
#include <Python.h>
#include <frameobject.h>
#endif
#include <stdarg.h>
#include <map>
#include <mutex>
#include "paddle/utils/Util.h"
// clang-format on
namespace paddle {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册