Entropy Generation Due To Laser Short Pulse Heating: Consideration Of The Seebeck EffectInverter switching patterns using a neural network