sklearn.utils.cpu_count

Warning

DEPRECATED

sklearn.utils.cpu_count()[source]

DEPRECATED: deprecated in version 0.20.1 to be removed in version 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib.

Return the number of CPUs.