Skip to main content
`Ctrl`+`K`
scipy.fft.

# get_workers

scipy.fft.get_workers()

  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 Support for the array API standard for more information.

  Examples

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