Amortized Finite Element Analysis for Fast PDE-Constrained Optimization