Sorry I’m still not sure what should be modified flr this to work. Why doesn’t it return 2 outputs ?
I stacked my training data and their labels using this line of code to construct the trainloader.
trainset = np.column_stack([train_data.as_matrix(), train_labels.as_matrix()])

Is that a wrong input? What is the assumed input ?