Trustworthy deep learning for cyber-physical systems