From 48e1b97e8e562ddf5acf77caa00b578755225fe8 Mon Sep 17 00:00:00 2001 From: Jacek Czaja Date: Wed, 28 Nov 2018 10:15:03 +0100 Subject: [PATCH] - Coding style fixes test=develop --- paddle/fluid/operators/math/blas_impl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/paddle/fluid/operators/math/blas_impl.h b/paddle/fluid/operators/math/blas_impl.h index 106d4551dd..c84087bb1e 100644 --- a/paddle/fluid/operators/math/blas_impl.h +++ b/paddle/fluid/operators/math/blas_impl.h @@ -487,7 +487,6 @@ void Blas::SCAL(int n, const T a, T *x) const { #endif } - template <> template T Blas::ASUM(int n, T *x, int inc) const { @@ -495,7 +494,7 @@ T Blas::ASUM(int n, T *x, int inc) const { #ifdef PADDLE_WITH_MKLML sum = CBlas::ASUM(n, x, inc); #else - //TODO(jczaja): check if openblas does provide cblas_sasum/cblas_dasum + // TODO(jczaja): check if openblas does provide cblas_sasum/cblas_dasum for (int c = 0; c < n; ++c) { sum += x[c]; } @@ -503,7 +502,6 @@ T Blas::ASUM(int n, T *x, int inc) const { return sum; } - template <> template void Blas::GEMV(bool trans_a, int M, int N, T alpha, -- GitLab