I am new to pytorch, so I hope to get familiar with it quickly with official tutorials. When follow tutorial about tensorboard(url: https://pytorch.org/tutorials/intermediate/tensorboard_tutorial.html 2) ,  I find a possible code error in part 6. Assessing trained models with Tensorboard.
The code in add_pr_curve_tensorboard() uses writer.add_pr_curve() in a wrong way. According to the definition, the second parameters of writer.add_pr_curve() should be the ground truth data instead of prediction labels.
I think it may mislead others who are not familiar with the precision-recall curve. It would be great if we could correct this.
Anyway, thanks a lot for providing such good tutorials to beginners!