Theoretically, it makes sense to use two output neurons - in the FashionMNIST example, we used 10 output neurons for 10 classes.
But for homework 5.1, when I set the number of output neurons to 2, and used gloss.LogisticLoss(), there is a shape mismatch…
Also in this discussion on StackExchange, using 1 neuron is preferred due to less model complexity