From 59cbaf9fe75e054afee290a9037248c4657c66d6 Mon Sep 17 00:00:00 2001 From: wwhu Date: Fri, 3 Nov 2017 16:12:45 +0800 Subject: [PATCH] fix doc --- paddle/operators/clip_by_norm_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/operators/clip_by_norm_op.cc b/paddle/operators/clip_by_norm_op.cc index b0ca53b525..ebb7bdda55 100644 --- a/paddle/operators/clip_by_norm_op.cc +++ b/paddle/operators/clip_by_norm_op.cc @@ -46,7 +46,7 @@ class ClipByNormOpMaker : public framework::OpProtoAndCheckerMaker { "The number of dimensions must be between [1, 9]."); AddOutput("Out", "(Tensor) The output of clip_by_norm op with shape as input(X)"); - AddAttr("max_norm", "(float)The maximum norm value."); + AddAttr("max_norm", "(float) The maximum norm value."); AddComment(R"DOC( ClipByNorm operator limits the L2 norm of the input 'X' within 'max_norm'. If the L2 norm of 'X' is less than or equal to 'max_norm', 'Out' will be -- GitLab