提交 c52ccbc1 编写于 作者: Q Qiao Longfei

clean code

上级 6056d043
...@@ -234,7 +234,6 @@ typename std::enable_if< ...@@ -234,7 +234,6 @@ typename std::enable_if<
std::is_same<DeviceContext, platform::CPUDeviceContext>::value>::type std::is_same<DeviceContext, platform::CPUDeviceContext>::value>::type
elementwise_add(const DeviceContext& ctx, BlasT<DeviceContext, T>* blas, elementwise_add(const DeviceContext& ctx, BlasT<DeviceContext, T>* blas,
size_t data_len, const T* in, T* out) { size_t data_len, const T* in, T* out) {
// auto blas = math::GetBlas<DeviceContext, T>(ctx);
blas->AXPY(data_len, 1., in, out); blas->AXPY(data_len, 1., in, out);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册