Skip to content

Commit

Permalink
Removed support_usm_nd_array
Browse files Browse the repository at this point in the history
  • Loading branch information
olegkkruglov committed Aug 28, 2024
1 parent be2f272 commit a9ab64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion doc/sources/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,13 @@ This example shows how to patch Intel(R) extension for Scikit-Learn by modifing
:caption: Example: Drop-In Patching
import numpy as np
from sklearnex import patch_sklearn
patch_sklearn()
# You need to re-import scikit-learn algorithms after the patch
from sklearn.cluster import KMeans
# The use of the original Scikit-learn is not changed
X = np.array([[1, 2], [1, 4], [1, 0],
[10, 2], [10, 4], [10, 0]])
Expand Down
2 changes: 0 additions & 2 deletions onedal/spmd/basic_statistics/incremental_basic_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

from daal4py.sklearn._utils import get_dtype

from ..._device_offload import support_usm_ndarray
from ...basic_statistics import (
IncrementalBasicStatistics as IncrementalBasicStatistics_nonSPMD,
)
Expand All @@ -30,7 +29,6 @@ def _reset(self):
IncrementalBasicStatistics_nonSPMD, self
)._get_backend("basic_statistics", None, "partial_compute_result")

@support_usm_ndarray()
def partial_fit(self, X, weights=None, queue=None):
"""
Computes partial data for basic statistics
Expand Down

0 comments on commit a9ab64e

Please sign in to comment.