torch.nn.functional.binary_cross_entropy and torch.nn.functional.binary_cross_entropy_with_logits documentation wrong on description about target #99151
Labels
module: docs
Related to our documentation, both in docs/ and docblocks
module: nn
Related to torch.nn
needs research
We need to decide whether or not this merits inclusion, based on research world
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
π The doc issue
The binary_cross_entropy documentation shows that
target
β Tensor of the same shape as input with values between 0 and 1. However, the value oftarget
does not necessarily have to be between 0-1, but the value ofinput
must be between 0-1.The binary_cross_entropy_with_logits documentation shows that
target
β Tensor of the same shape as input with values between 0 and 1. However, the value oftarget
does not necessarily have to be between 0-1.Suggest a potential alternative/fix
No response
cc @svekars @carljparker @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
The text was updated successfully, but these errors were encountered: