Hi all,
Im new to PyTorch and neural networks and am having some trouble figuring out tensor shaping.
I have a task to make a neural network that can distingush two intertwined rectangular spirals.
Running x.shape on the provided data gives [2592100, 2] which I am passing to a linear layer, so im not sure how to shape my tensors around this. I have used x = x.view(x.size(0), -1) but this doesnt seem to remedy the issue.
I have seen in another thread (ValueError: Expected input batch_size (324) to match target batch_size (4)) where the data has 4 variables so I wanted to know if theres a special way to solve this.
Thanks!