Handwritten digit and Roman string recognition using gated CNN with federated learning | Synapse