Use a struct to manage the mapping between AttentionImpl enum values and their string names, simplifying GetAttentionImplName function. Add a test to ensure all valid AttentionImpl enums have a corresponding name and can be looked up.
#844
+31
−12