The docs for version 0.3.1 http://pytorch.org/docs/0.3.1/ 15 do not mention any spectral ops.
The link you provided points to the docs for the master version which contains details on stuff that is currently being worked on. To use those spectral ops you will have to compile pytorch from source.