Derive residual statics solution using a high-resolution neural network