From 7c2affaa26cd3ed73915127243b067bb3a7958b4 Mon Sep 17 00:00:00 2001 From: syyxsxx <32666364+syyxsxx@users.noreply.github.com> Date: Fri, 18 Dec 2020 11:40:51 +0800 Subject: [PATCH] fix isfinite_v2_op OpProtoAndCheckerMaker AddComment bug (#29626) fix isfinite_v2_op OpProtoAndCheckerMaker AddComment bug --- paddle/fluid/operators/isfinite_v2_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/isfinite_v2_op.cc b/paddle/fluid/operators/isfinite_v2_op.cc index fcbb4c5bf6..c676a3e57f 100644 --- a/paddle/fluid/operators/isfinite_v2_op.cc +++ b/paddle/fluid/operators/isfinite_v2_op.cc @@ -85,7 +85,7 @@ class OverflowV2OpMaker : public framework::OpProtoAndCheckerMaker { AddComment(string::Sprintf(R"DOC( Overflow %s operator. -$$Out = %s(X)$$ +$$Out = any(X)$$ Check whether each element of X is Inf or Nan, return the bool result of each element of X as a tensor. -- GitLab