bundles / scipy 1.18.0 / scipy / fft / _duccfft / helper / get_workers
function
scipy.fft._duccfft.helper:get_workers
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