Federated Learning Using Particle Swarm Optimization