首页
Programming Q&A
登录
标签
pythonWhy do I have to unsqueeze
python - Why do I have to unsqueeze the data from torch.Size([50]) to torch.Size([50, 1]) - Stack Overflow
I was doing the PyTorch Deep Learning course from FreeCodeCamp and the doubt is:weight = 0.7bias = 0.
pythonWhy do I have to unsqueeze the data from torchSize(50) to torchSize(50
1)Stack Overflow
admin
25天前
2
0