CrossEntropyLoss添加了一个参数label_smoothing,当该参数被指定为非None,则在计算loss时将ground truth编码由原来的[1,0,...,0]变成smoothed版本的[1-eps, eps/(C-1), ..., eps/(C-1)]。