提交 d04c206f 编写于 作者: H hedaoyuan

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

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