What formula is used for F.cross_entropy vs F.binary_cross_entropy vs F.with_logits

How can I know the difference between these three cross-entropies functions?
How can I know the math formula of them?

The docs of these functional API calls should refer to the class docs which show you the used formula.

1 Like