Skip to content

Conversation

@copybara-service
Copy link

Add constructor to NamedSharding accepting axis names.

This provides a more intuitive way to create NamedSharding objects, especially in tests, as it's easier to work with human-readable axis names than with AxisRef indices.

This provides a more intuitive way to create `NamedSharding` objects, especially in tests, as it's easier to work with human-readable axis names than with `AxisRef` indices.

PiperOrigin-RevId: 839182874
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.

1 participant