diff --git a/paddle/fluid/operators/math/selected_rows_functor.cc b/paddle/fluid/operators/math/selected_rows_functor.cc index 77864aa7c0d29583ab4aa275db0e440c60e8718c..a1be92899840aa3359cfd926ec645c825468a48a 100644 --- a/paddle/fluid/operators/math/selected_rows_functor.cc +++ b/paddle/fluid/operators/math/selected_rows_functor.cc @@ -234,7 +234,6 @@ typename std::enable_if< std::is_same::value>::type elementwise_add(const DeviceContext& ctx, BlasT* blas, size_t data_len, const T* in, T* out) { - // auto blas = math::GetBlas(ctx); blas->AXPY(data_len, 1., in, out); }