diff --git a/paddle/operators/auc_op.cc b/paddle/operators/auc_op.cc index f88f722d6c2b1839aaaa4953e0df71b1c2d710f7..89f379b78f9e93ac85535b5be9dd6567f0654ec5 100644 --- a/paddle/operators/auc_op.cc +++ b/paddle/operators/auc_op.cc @@ -33,7 +33,7 @@ class AucOp : public framework::OperatorWithKernel { PADDLE_ENFORCE_EQ(inference->dims(), label->dims(), "inference and label should have same shape"); - ctx.Output("AUC")->Resize({1}); + ctx.Output("AUC")->Resize({1}); } };