Question about tensorboard_tutorial

As you mentioned in https://pytorch.org/tutorials/intermediate/tensorboard_tutorial.html, when plotting the precision-recall curve, you take tensorboard_preds as input of writer.add_pr_curve. I have confusions on this, should not we use the ground truth label instead of tensorboard_preds which is the predicted output of the model?