Skip to content

Conversation

@copybara-service
Copy link

[PJRT] Simplify and broaden the interface of TransposePlan.

  • allow both an input striding and an input tiling. There's no reason these are mutually exclusive. If both a striding and a tiling are provided, the striding is the stride between tiles.
  • use std::optional<> for input and output stridings and tilings.
  • refactor test code so it supports input striding and tiling, and make a few small cleanup.

* allow both an input striding and an input tiling. There's no reason these are mutually exclusive. If both a striding and a tiling are provided, the striding is the stride between tiles.
* use std::optional<> for input and output stridings and tilings.
* refactor test code so it supports input striding and tiling, and make a few small cleanup.

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