Learning high-dimensional functions on the torus.