SAPE: Spatially-AdaptiveProgressiveEncoding forNeuralOptimization