tfft.FftwOptions
tfft.FftwOptions¶
- class FftwOptions(*, planning_rigor: tensorflow_nufft.python.ops.nufft_options.FftwPlanningRigor = FftwPlanningRigor.AUTO)¶
Bases:
pydantic.main.BaseModelRepresents options for the FFTW library.
These are only relevant when using the CPU kernels of NUFFT.
Tip
You can set the FFTW options of the
nufftthrough thefftwproperty oftfft.Options.Example
>>> options = tfft.Options() >>> options.fftw.planning_rigor = tfft.FftwPlanningRigor.PATIENT >>> tfft.nufft(x, k, options=options)
- planning_rigor¶
Controls the rigor (and time) of the planning process. See
tfft.FftwPlanningRigorfor more information.