From f3e899fc6914e5d6f680db0071c8a9061831fd7d Mon Sep 17 00:00:00 2001 From: sakamoto111 <34262235+sakamoto111@users.noreply.github.com> Date: Wed, 25 Nov 2020 16:05:11 +0800 Subject: [PATCH] Update 2.4.md --- docs/chapter2/2.4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chapter2/2.4.md b/docs/chapter2/2.4.md index 39e8338..642c543 100644 --- a/docs/chapter2/2.4.md +++ b/docs/chapter2/2.4.md @@ -50,4 +50,4 @@ short_points = torch.ones(10, 2).to(dtype=torch.short) points = torch.randn(10, 2) short_points = points.type(torch.short) ``` -上例的`randn`返回一个元素是0到1之间随机数的张量。 \ No newline at end of file +上例的`randn`返回一个元素是正态分布随机数的张量。