A Thermal Machine Learning Solver For Chip Simulation