From the source : https://pytorch.org/docs/stable/_modules/torch/nn/functional.html#cross_entropy 66
def cross_entropy(input, target, weight=None, size_average=None, ignore_index=-100,
                  reduce=None, reduction='mean'):

Is there a specific reason that this is -100?