Files
nn/test.ipynb
T
2026-03-12 15:50:33 +08:00

2.0 KiB

In [4]:
import torch
import numpy
import pandas

In [6]:
torch.randn(3,4,2)
Out [6]:
tensor([[[ 0.2132,  0.9767],
         [-1.0454,  0.1760],
         [ 1.1094, -1.8272],
         [ 0.3191,  0.6993]],

        [[ 0.1007,  2.2675],
         [-0.3900,  0.5697],
         [ 0.8869,  0.9942],
         [ 0.5918, -0.1472]],

        [[-0.8392,  0.5961],
         [ 0.7128, -0.3702],
         [-0.8278,  0.6045],
         [ 0.2568, -0.2580]]])
In [5]: