code: def test_zero_eps(self):
      self.args.label_smoothing = 0.0
      nll_crit = CrossEntropyCriterion.build_criterion(
          self.args, self.task
      )
      smooth_crit = LabelSmoothedCrossEntropyCriterion.build_criterion(
          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)
  
file_path: fairseq/tests/test_label_smoothing.py
imports: import argparse
  import copy
  import unittest
  import tests.utils
  import torch
  from fairseq.criterions.cross_entropy import CrossEntropyCriterion
  from fairseq.criterions.label_smoothed_cross_entropy import LabelSmoothedCrossEntropyCriterion
label_desc: Use image node_id 5 for calling the TestLabelSmoothing obj's underlying member method code with example usage: obj.test_zero_eps() without return types