Pearl: Towards Optimization of DNN-accelerators Via Closed-Form Analytical Representation