PyTorch Forums
For-loop with a 2D matrix of size 0
smth
June 1, 2017, 5:24pm
2
We dont have zero-dimensional Tensors.
a = torch.FloatTensor(0, 4) print(a.size())
torch.Size([])
How to concatenate to a Tensor with a 0 dimension?
show post in topic