code: def setUp(self):
      super(NumericTest, self).setUp()
  
      self.skipForDeviceType(
          ["TPU"],
          "all tests require 8 TPU cores.",
          unless_device_count_equals_to=8,
      )
  
      test_util.reset_logical_devices("CPU", 8)
      accelerator_util.initialize_accelerator_system()
  
      self.stateless_random_seed = [0, 1]
  
file_path: tensorflow/tensorflow/dtensor/python/tests/numerics_test.py
imports: import os
  from absl.testing import parameterized
  import numpy
  from tensorflow.dtensor.python import accelerator_util
  from tensorflow.dtensor.python import layout
  from tensorflow.dtensor.python import numpy_util
  from tensorflow.dtensor.python.tests import test_util
  from tensorflow.python.eager.polymorphic_function import polymorphic_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import stateless_random_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the NumericTest obj's underlying member method code with example usage: obj.setUp() without return types