Optimal Neural Compressors for the Rate-Distortion-Perception Tradeoff