Is there a cross_entropy in c++?

I found nll_loss but I didn’t find cross_entropy in this list https://pytorch.org/cppdocs/api/namespace_at.html#functions

Is it missing? Also - what is binary_cross_entropy?

nn.CrossEntropyLoss is calling F.log_softmax and F.nll_loss internally as described here.
As mentioned in the linked topic, @yf225 is actively coordinating the development of the C++ API.

binary_cross_entropy is used for binary or multi-label classification use cases.