Sparse Deep Neural Network for Nonlinear Partial Differential Equations