tfft.FftwOptions
tfft.FftwOptions¶
- class FftwOptions(*, planning_rigor: tensorflow_nufft.python.ops.nufft_options.FftwPlanningRigor = FftwPlanningRigor.AUTO)¶
Bases:
pydantic.main.BaseModel
Represents 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
nufft
through thefftw
property 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.FftwPlanningRigor
for more information.