Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
olegkkruglov committed Aug 19, 2024
1 parent b96ba23 commit 26a5f85
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions onedal/spmd/basic_statistics/incremental_basic_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

class IncrementalBasicStatistics(BaseEstimatorSPMD, IncrementalBasicStatistics_nonSPMD):
def _reset(self):
self._partial_result = super(IncrementalBasicStatistics_nonSPMD, self)._get_backend(
"basic_statistics", None, "partial_compute_result"
)
self._partial_result = super(
IncrementalBasicStatistics_nonSPMD, self
)._get_backend("basic_statistics", None, "partial_compute_result")

@support_usm_ndarray()
def partial_fit(self, X, weights=None, queue=None):
Expand Down Expand Up @@ -60,7 +60,9 @@ def partial_fit(self, X, weights=None, queue=None):
self._onedal_params = self._get_onedal_params(dtype)

X_table, weights_table = to_table(X, weights)
self._partial_result = super(IncrementalBasicStatistics_nonSPMD, self)._get_backend(
self._partial_result = super(
IncrementalBasicStatistics_nonSPMD, self
)._get_backend(
"basic_statistics",
None,
"partial_compute",
Expand Down

0 comments on commit 26a5f85

Please sign in to comment.