Skip to content

Commit

Permalink
Fix typo in add_pr_curve docstrings. (#49648)
Browse files Browse the repository at this point in the history
Summary:
Very small PR to fix a typo.

### Description
Fixed 1 typo in the documentation of `torch/utils/tensorboard/writer.py` (replaced "_should in_" by "_should be in_")

Pull Request resolved: #49648

Reviewed By: ngimel

Differential Revision: D25665831

Pulled By: mrshenli

fbshipit-source-id: a4e733515603bb9313c1267fdf2cfcc2bc2773c6
  • Loading branch information
theodumont authored and facebook-github-bot committed Dec 21, 2020
1 parent b80a366 commit b1a1271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/utils/tensorboard/writer.py
Expand Up @@ -846,7 +846,7 @@ def add_pr_curve(self, tag, labels, predictions, global_step=None,
Ground truth data. Binary label for each element.
predictions (torch.Tensor, numpy.array, or string/blobname):
The probability that an element be classified as true.
Value should in [0, 1]
Value should be in [0, 1]
global_step (int): Global step value to record
num_thresholds (int): Number of thresholds used to draw the curve.
walltime (float): Optional override default walltime (time.time())
Expand Down

0 comments on commit b1a1271

Please sign in to comment.