diff --git a/paddle/gserver/layers/CostLayer.h b/paddle/gserver/layers/CostLayer.h index 2f85fd3eca8a3b8bfab5faccb9442321f8849e08..c2b7803710e82cad9c4f5ba1e6f5042a70d07961 100644 --- a/paddle/gserver/layers/CostLayer.h +++ b/paddle/gserver/layers/CostLayer.h @@ -164,8 +164,8 @@ public: * tasks. * \f[ * L = - * y / -1 < y < 1 / - * sign(y) / otherwise / + * output - label / -1 < (output - label) < 1 / + * sign(output - label) / otherwise / * \f] */ class SmoothL1CostLayer : public CostLayer {