neural network – How can I fix tensor dimension matching error (with 1 unit difference)

I’m trying to run my code for Graph Convolution Network (GCN) in PyTorch with several .csv input files, but I get the error below: ** RuntimeError: The expanded size of the tensor (732) must match the existing size (731) at non-singleton dimension 0. Target sizes: [732]. Tensor sizes: [731] ** here is my code: import … Read more