From fb9489e1c4a8aedba7b7c36c3c36258e943666ff Mon Sep 17 00:00:00 2001 From: Kexin Zhao Date: Tue, 5 Dec 2017 15:31:00 -0800 Subject: [PATCH] fix clip op doc operation --- paddle/operators/clip_op.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/paddle/operators/clip_op.cc b/paddle/operators/clip_op.cc index 3e9066ceb2a4a4..4ddf24dea33634 100644 --- a/paddle/operators/clip_op.cc +++ b/paddle/operators/clip_op.cc @@ -52,7 +52,11 @@ class ClipOpMaker : public framework::OpProtoAndCheckerMaker { Clip Operator. The clip operator limits the value of given input within an interval. The interval is -specified with arguments 'min' and 'max'. +specified with arguments 'min' and 'max': + +$$ +Out = \min(\max(X, min), max) +$$ )DOC"); }