Skip to content

Commit 94a36b8

Browse files
authored
fix clip op doc operation (#6314)
1 parent dbf2050 commit 94a36b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

paddle/operators/clip_op.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ class ClipOpMaker : public framework::OpProtoAndCheckerMaker {
5252
Clip Operator.
5353
5454
The clip operator limits the value of given input within an interval. The interval is
55-
specified with arguments 'min' and 'max'.
55+
specified with arguments 'min' and 'max':
56+
57+
$$
58+
Out = \min(\max(X, min), max)
59+
$$
5660
5761
)DOC");
5862
}

0 commit comments

Comments
 (0)