To use this script, install numpy and ml_dtypes on your system. To do so, use the following commands in your terminal:
pip install numpy
pip install ml_dtypes
After doing so, if you are using the script to generate a twiddle header file different from the tutorial one, set the parameters as explained in the “Parameters Setting” section.
If not, run the script with the following terminal command:
python Twiddle_gen.py