Machine Learning In Iot Systems: From Deep Learning To Hyperdimensional Computing