Needing clarity for equivalent of Categoricalcrossentropy as CrossEntropyLoss

it seems that only crossentorpy in version 1.10 can get Probabilities for each class as target.