An innovative method for thermal characterization of automotive electronic devices based on CNNs