SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.fft.get_workers

scipy.fft.get_workers()[source]

Returns the default number of workers within the current context

Examples

>>>
>>> from scipy import fft
>>> fft.get_workers()
1
>>> with fft.set_workers(4):
...     fft.get_workers()
4

Previous topic

scipy.fft.set_workers

Next topic

scipy.fft.set_backend