FloatTensor # 定义默认GPU 的数据类型 gpu_tensor = torch.randn(10, ... Parameter(torch.randn(2, 4) * 0.01) # 隐藏层神经元个数2 b1 = nn.
確定! 回上一頁