提交 d04c206f 编写于 作者: H hedaoyuan

remove the 'using namespace paddle;' in the test files

上级 84a0574a
......@@ -22,6 +22,7 @@ limitations under the License. */
#else
#include "paddle/utils/Stat.h"
using namespace paddle; // NOLINT
#define EXPRESSION_PERFORMANCE(expression) \
do { \
......
......@@ -16,8 +16,13 @@ limitations under the License. */
#include "paddle/math/Matrix.h"
#include "TensorCheck.h"
using namespace paddle; // NOLINT
using namespace std; // NOLINT
using paddle::Matrix;
using paddle::CpuMatrix;
using paddle::GpuMatrix;
using paddle::CpuVector;
using paddle::GpuVector;
using paddle::CpuIVector;
using paddle::GpuIVector;
using autotest::TensorCheckEqual;
using autotest::TensorCheckErr;
......
......@@ -18,8 +18,9 @@ limitations under the License. */
#include "TensorCheck.h"
#include "PerfUtils.h"
using namespace paddle; // NOLINT
using namespace std; // NOLINT
using paddle::BaseMatrix;
using paddle::CpuMatrix;
using paddle::GpuMatrix;
using autotest::TensorCheckEqual;
using autotest::TensorCheckErr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册