def METHOD_NAME(self):
    self.args.label_smoothing = 0.0
    nll_crit = CrossEntropyCriterion(self.args, self.task)
    smooth_crit = LabelSmoothedCrossEntropyCriterion(self.args, self.task)
    nll_loss, nll_sample_size, nll_logging_output = nll_crit(self.model, self.sample)
    smooth_loss, smooth_sample_size, smooth_logging_output = smooth_crit(self.model, self.sample)
    self.assertAlmostEqual(nll_loss, smooth_loss)