W3cubDocs

/scikit-learn

sklearn.utils.cpu_count

sklearn.utils.cpu_count() [source]

Return the number of CPUs.

© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.utils.cpu_count.html