We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ec66a3 commit b3313f2Copy full SHA for b3313f2
paddle/gserver/layers/CostLayer.h
@@ -164,8 +164,8 @@ class SumOfSquaresCostLayer : public CostLayer {
164
* tasks.
165
* \f[
166
* L =
167
- * output - label / -1 < (output - label) < 1 /
168
- * sign(output - label) / otherwise /
+ * (output - label)^2 * 0.5 / -1 < (output - label) < 1 /
+ * (output - label) - 0.5 / otherwise /
169
* \f]
170
*/
171
class SmoothL1CostLayer : public CostLayer {
0 commit comments