Analyzing the Performance of Deep Encoder-Decoder Networks as Surrogates for a Diffusion Equation