Hardware aware federated learning with sparse models for adaptive anomaly detection in IoT | Synapse