Target and output shape/type for binary classification using PyTorch
According to your questions:

Labels should be long and advised.
[num_samples, ]
It should have two outputs.
If your batch_size=200 then target somehow similar to this: [0, 1, 0, 1, 1, 0, ....1]
3rd ^