首页
科技
登录
6mi
u
盘
搜
搜 索
科技
pytorch- normal
pytorch- normal
科技
2022-08-01
92
import
torch
x
=
torch
.
zeros
(
(
2
,
3
)
)
x
.
normal_
(
0
,
1
)
tensor
(
[
[
-
0.8139
,
0.6736
,
0.3647
]
,
[
0.3843
,
-
0.2469
,
-
0.9998
]
]
)
normal(mean, variance) weight 初始化的正态分布。
转载请注明原文地址:https://blackberry.8miu.com/read-12263.html
最新回复
(
0
)