code: def setUp(self, seed=1234):
      super().setUp()
      random.seed(seed)
      np.random.seed(seed)
      torch.manual_seed(seed)
  
      # Set pytorch print precision
      torch.set_printoptions(precision=10)
  
file_path: apex/apex/contrib/test/xentropy/test_label_smoothing.py
imports: import unittest
  import random
  import time
  import numpy
  import torch
label_desc: Use image node_id 1 for calling the LabelSmoothingTest obj's underlying member method code with example usage: obj.setUp(seed) without return types