We do not need pt2ts.py in this example, however the documentation mentions it - so it would be good to include this file for completion.
Why don't we need it?
FNO1d.py automatically saves the model using scripting. The resulting .pt is compatible with any device (GPU, CPU etc). If we were to use save_dict for any reason, the pt2ts.py would have to be used.