📜  rotch randn - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:57.436000             🧑  作者: Mango

代码示例1
>>> torch.randn(4)
tensor([-2.1436,  0.9966,  2.3426, -0.6366])
>>> torch.randn(2, 3)
tensor([[ 1.5954,  2.8929, -1.0923],
        [ 1.1719, -0.4709, -0.1996]])