Skip to content

Commit

Permalink
Fix misspelled docstring argument (#208)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #208

Reviewed By: JKSenthil

Differential Revision: D62916001

Pulled By: kit1980

fbshipit-source-id: 646659405afb1565d344a9b261ac1c4293da61f4
  • Loading branch information
kit1980 authored and facebook-github-bot committed Sep 18, 2024
1 parent e972bf3 commit 5871b2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def binary_normalized_entropy(
weight (Tensor): Optional. A manual rescaling weight to match input tensor shape (num_tasks, num_samples).
num_tasks (int): Number of tasks that need BinaryNormalizedEntropy calculation. Default value
is 1.
from_logit (bool): A boolean indicator whether the predicted value `y_pred` is
from_logits (bool): A boolean indicator whether the predicted value `y_pred` is
a floating-point logit value (i.e., value in [-inf, inf] when `from_logits=True`)
or a probablity value (i.e., value in [0., 1.] when `from_logits=False`)
Default value is False.
Expand Down

0 comments on commit 5871b2c

Please sign in to comment.