bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / fft / _duccfft / helper / get_workers
function
scipy.fft._duccfft.helper:get_workers
source: build-install/usr/lib/python3.14/site-packages/scipy/fft/_duccfft/helper.py:239
Signature
def get_workers()Summary
Returns the default number of workers within the current context.
Returns
n_workers: intThe default number of workers
Notes
Array API Standard Support
get_workers is not in-scope for support of Python Array API Standard compatible backends other than NumPy.
See dev-arrayapi for more information.
Examples
from scipy import fft fft.get_workers() with fft.set_workers(4): fft.get_workers()✓
4
Aliases
scipy.fft.get_workers