Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _is_singleCPU
Method
_is_singleCPU
numpy/distutils/cpuinfo.py:608–609 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
606
# Varia
607
608
def
_is_singleCPU(self):
609
return
len(self.info) == 1
610
611
def
_getNCPUs(self):
612
return
len(self.info)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected