From 27aa160dd9a5b8d2297331a970b2233cab95f089 Mon Sep 17 00:00:00 2001 From: ZackC Date: Tue, 3 Sep 2024 12:44:26 +0000 Subject: [PATCH] =?UTF-8?q?=E6=AD=A4=E5=A4=84=E5=8F=AF=E4=BB=A5=E6=8F=90?= =?UTF-8?q?=E4=B8=80=E4=B8=8B=E9=BB=98=E8=AE=A4=E4=B8=BAmean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ZackC --- tutorials/source_zh_cn/advanced/modules/loss.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/source_zh_cn/advanced/modules/loss.ipynb b/tutorials/source_zh_cn/advanced/modules/loss.ipynb index f7d210bece..bd668b57d4 100644 --- a/tutorials/source_zh_cn/advanced/modules/loss.ipynb +++ b/tutorials/source_zh_cn/advanced/modules/loss.ipynb @@ -37,7 +37,7 @@ " \\operatorname{sum}(L), & \\text{if reduction} = \\text{'sum'.}\n", " \\end{cases}$$\n", "\n", - "`nn.L1Loss`中的参数`reduction`取值可为`mean`,`sum`,或`none`。若`reduction` 为`mean`或`sum`,则输出一个经过均值或求和后的标量Tensor(降维);若`reduction`为`none`,则所输出Tensor的shape为广播后的shape。" + "`nn.L1Loss`中的参数`reduction`取值可为`mean`,`sum`,或`none`,,默认值为`mean`。若`reduction` 为`mean`或`sum`,则输出一个经过均值或求和后的标量Tensor(降维);若`reduction`为`none`,则所输出Tensor的shape为广播后的shape。" ] }, { -- Gitee