Reinforcement learning for charging optimization of inhomogeneous Dicke quantum batteries | Synapse