Skip to content

Use gtl::fixed_flat_map_of 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

Open
copybara-service[bot] wants to merge 1 commit intodevfrom
test_875204584

Conversation

@copybara-service
Copy link

Use gtl::fixed_flat_map_of 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.

…Impl` 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.

PiperOrigin-RevId: 875204584
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants