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

avx_docs
hedaoyuan 8 years ago
parent 84a0574ac3
commit d04c206f30

@ -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. */
#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. */
#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;

Loading…
Cancel
Save