Skip to content

Commit

Permalink
Better fix to internal error
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 638777808
  • Loading branch information
xingyousong authored and copybara-github committed May 30, 2024
1 parent 2908445 commit dda0a26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions iris/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ def merge(self, data: Dict[str, Any]) -> None:
def data(self) -> Dict[str, Any]:
return copy.deepcopy(self._data)

# Used externally.
@property
def mean(self) -> np.ndarray:
return self._data[MEAN]

@data.setter
def data(self, new_data: Dict[str, Any]) -> None:
self._data = copy.deepcopy(new_data)
Expand Down
1 change: 0 additions & 1 deletion iris/normalizer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def test_meanstdbuffer(self):

self.assertEqual(new_buffer._std, buffer._std)
self.assertEqual(new_buffer._data['n'], buffer._data['n'])
self.assertEqual(new_buffer.mean, buffer.mean)


class NormalizerTest(absltest.TestCase):
Expand Down

0 comments on commit dda0a26

Please sign in to comment.