The length of the data is 200, and the length of the label is 1. These two should correspond to each other! Why is this the case now? Please inform, thank you!
len(tensor) uses the first dimension of the tensor to calculate the length.
Your target seems to have the shape [1, X].
You could use print(label.size()) to get the size of all dimensions.
This is the case, how can I read the length of the next 2000? Or reverse the order of the four columns like the following, these two results show exactly the opposite.