diff --git a/paddle/operators/clip_by_norm_op.cc b/paddle/operators/clip_by_norm_op.cc index b0ca53b525f22ce6743e566c7e5f94fbdd90e3cb..ebb7bdda558e8b951755e9e0417ddcf332c75364 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