Thank you very much for your fast reply. Yet, I’m still confused. Am I measuring the time in an incorrect way or is sending signal conditioned on if, really taking 3 seconds while my network predicts in less than 2 miliseconds? If so, is there a way to execute this if statement on GPU?