Whether y_pred is expected to be a logits tensor. By default, we assume that y_pred encodes a probability distribution.
ignore_class
Optional integer. The ID of a class to be ignored during loss computation. This is useful, for example, in segmentation problems featuring a "void" class (commonly -1 or 255) in segmentation maps. By default (ignore_class=None), all classes are considered.
axis
Defaults to -1. The dimension along which the entropy is computed.