class_docstr: Tests compute_score_offset.
class_docstr_tok: ["Tests","compute_score_offset","."]
code: def setUp(self):
      super().setUp()
      self.stat_target = np.array(
          [[-0.1, 0.1, 0], [0, 0, 27], [0, 0, 0]]
      )  # 3 samples with 3 augmentations
      self.stat_in = [
          np.array([[1, 2, -3.0]]),  # 1 shadow
          np.array([[-2.0, 4, 6], [0, 0, 0], [5, -7, -9]]),  # 3 shadow
          np.empty((0, 3)),
      ]  # no shadow
      self.stat_out = [-s + 10 for s in self.stat_in]
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack import advanced_mia
label_desc: Use image node_id 1 for calling the TestScoreOffset obj's underlying member method code with example usage: obj.setUp() without return types