optimize relative attention by replacing matmuls with einsums
optimize relative attention by replacing matmuls with einsums

PiperOrigin-RevId: 346710004

google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research