Convolutional neural networks for heat conduction