Skip to content

Added split_field_axis and ensure_positional_axis_idx utility functions.#60

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_864571532
Open

Added split_field_axis and ensure_positional_axis_idx utility functions.#60
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_864571532

Conversation

@copybara-service

Copy link
Copy Markdown

Added split_field_axis and ensure_positional_axis_idx utility functions.

split_field_axis flexibly splits a cx.Field along a specified axis into a pytree with leaves forming shards of the axis;
ensure_positional_axis_idx verifies (and potentially expands) a dummy positional axis at a given index.

split_field_axis flexibly splits a cx.Field along a specified axis into a pytree with leaves forming shards of the axis;
ensure_positional_axis_idx verifies (and potentially expands) a dummy positional axis at a given index.

PiperOrigin-RevId: 864571532
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