提交 805945b7 编写于 作者: W wangchaochaohu 提交者: GitHub

Revert "fix windows for optimization of elementwise_add Op (#31068)"

This reverts commit 364cfa26.
上级 0f1fde51
...@@ -315,9 +315,7 @@ class ElementwiseAddGradKernel : public ElemwiseGradKernel<T> { ...@@ -315,9 +315,7 @@ class ElementwiseAddGradKernel : public ElemwiseGradKernel<T> {
// skip out // skip out
auto *out = dout; auto *out = dout;
// TODO(@wangchaochaohu, zhouwei35): Fix conv_transpose2d API(dataformat NHWC) #ifdef PADDLE_WITH_CUDA
// error in Windows
#if defined(PADDLE_WITH_CUDA) && defined(_LINUX)
#ifdef __NVCC__ #ifdef __NVCC__
int axis = ctx.Attr<int>("axis"); int axis = ctx.Attr<int>("axis");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册