Unified deep learning approach for estimating the metallicities of RR Lyrae stars using light curves from | Synapse