From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks | Synapse