提交 2d73541b 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!5376 fix formula grammar error in comment of SmoothL1Loss

Merge pull request !5376 from xiaotianci/add
......@@ -1761,7 +1761,7 @@ class SmoothL1Loss(PrimitiveWithInfer):
Sets input prediction as `X`, input target as `Y`, output as `loss`. Then,
.. math::
\text{SmoothL1Loss} = \begin{cases} \frac{0.5 x^{2}}{\text{beta}, &if \left |x \right | < \text{beta} \cr
\text{SmoothL1Loss} = \begin{cases} \frac{0.5 x^{2}}{\text{beta}}, &if \left |x \right | < \text{beta} \cr
\left |x \right|-0.5 \text{beta}, &\text{otherwise}\end{cases}
Args:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册