提交 bb8ea163 编写于 作者: Z zhoukunsheng

fix 16823: delete default_grad register for reduce_all, reduce_any

上级 4aa594e3
...@@ -29,8 +29,6 @@ pool3d ...@@ -29,8 +29,6 @@ pool3d
prelu prelu
quantize quantize
rank_loss rank_loss
reduce_all
reduce_any
reduce_max reduce_max
reduce_mean reduce_mean
reduce_min reduce_min
......
...@@ -278,4 +278,4 @@ namespace ops = paddle::operators; ...@@ -278,4 +278,4 @@ namespace ops = paddle::operators;
virtual std::string GetOpType() const { return "Reduce " #op_name; } \ virtual std::string GetOpType() const { return "Reduce " #op_name; } \
}; \ }; \
REGISTER_OPERATOR(op_name, ops::ReduceOp, __##op_name##Maker__, \ REGISTER_OPERATOR(op_name, ops::ReduceOp, __##op_name##Maker__, \
paddle::framework::DefaultGradOpDescMaker<true>); paddle::framework::EmptyGradOpMaker);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册