Optimizing Tradeoff Between Learning Speed and Cost for Federated-Learning-Enabled Industrial IoT | Synapse