[FR] general nll_loss and cross_entropy along arbitrary dimension #29754
Labels
module: loss
Problem is related to loss function
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Currently it is always taken along
dim=1
. Making the dim configurable should be really easy. I'd do it if this sounds reasonable.The text was updated successfully, but these errors were encountered: