diff --git a/paddle/fluid/operators/elementwise/elementwise_mul_op.cc b/paddle/fluid/operators/elementwise/elementwise_mul_op.cc index 457ea83c0d674ae8bc3184043763bb680fb526f1..4052f3e09e0cc2f29271bd0a9977340d39af4700 100644 --- a/paddle/fluid/operators/elementwise/elementwise_mul_op.cc +++ b/paddle/fluid/operators/elementwise/elementwise_mul_op.cc @@ -88,6 +88,7 @@ class ElementwiseMulGradCompositeOpMaker static_cast(this->Attr("axis")), x_grad_p, y_grad_p); + VLOG(3) << "Runing mul_grad composite func"; this->RecoverOutputName(x_grad, x_grad_name); this->RecoverOutputName(y_grad, y_grad_name); } diff --git a/paddle/fluid/operators/expand_v2_op.cc b/paddle/fluid/operators/expand_v2_op.cc index 7b24c31ff28b1018fcfaa0f89377a1b074047f34..9a867c040fcb8ea3a238ce340ab2f5234a7424d1 100644 --- a/paddle/fluid/operators/expand_v2_op.cc +++ b/paddle/fluid/operators/expand_v2_op.cc @@ -206,6 +206,7 @@ class ExpandV2GradCompositeOpMaker : public prim::GradCompositeOpMakerBase { auto shape = this->Attr>("shape"); prim::expand_grad( x, out_grad, paddle::experimental::IntArray(shape), x_grad_p); + VLOG(3) << "Runing expand_v2 composite func"; this->RecoverOutputName(x_grad, x_grad_name); } }; diff --git a/paddle/fluid/operators/reduce_ops/reduce_sum_op.cc b/paddle/fluid/operators/reduce_ops/reduce_sum_op.cc index afef765c6ff71ce9f1a97e915d4f933558c138d2..2b337887faa3f8fe2dde678fa6caec12256adeb3 100644 --- a/paddle/fluid/operators/reduce_ops/reduce_sum_op.cc +++ b/paddle/fluid/operators/reduce_ops/reduce_sum_op.cc @@ -84,7 +84,7 @@ class ReduceSumCompositeGradOpMaker : public prim::GradCompositeOpMakerBase { // get output orginal name std::string x_grad_name = this->GetOutputName(x_grad_t); - + VLOG(3) << "Runing sum_grad composite func"; // call composite backward func prim::sum_grad( x, out_grad, axis, keep_dim, reduce_all, x_grad);