Yes, I agree that the docs should be reworked.
If you would like to do binary classification, please set num_classes=2.
Values of confusion matrix can be by average option to match precision, recall or number of samples…

  
      pytorch.org
  
  
    

ignite.metrics — ignite master documentation 1