https://medium.com/@m.naufil1/federated-learning-of-a-recurrent-neural-network-for-text-classification-with-raspberry-pis-6ce184f85a2a