{ } Raw JSON

bundles / scipy latest / scipy / fft / _pocketfft / helper / get_workers

function

scipy.fft._pocketfft.helper:get_workers

source: /scipy/fft/_pocketfft/helper.py :239

Signature

def   get_workers ( )

Summary

Returns the default number of workers within the current context

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()

Aliases

  • scipy.fft.get_workers