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:261–262 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
259
# Varia
260
261
def
_is_singleCPU(self):
262
return
len(self.info) == 1
263
264
def
_getNCPUs(self):
265
return
len(self.info)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected