sklearn.utils.cpu_count()
Return the number of CPUs.
© 2007–2018 The scikit-learn developersLicensed under the 3-clause BSD License. http://scikit-learn.org/stable/modules/generated/sklearn.utils.cpu_count.html