Physics-Inspired Machine Learning of Partial Differential Equations