Repository navigation
[DT] Mark partial slices unsupported in padding encoding resolver. - #22359
Conversation
The implementation was wrong; the tests are missing. It addresses a post review comment: https://github.com/iree-org/iree/pull/22339/files#r2438738373 Signed-off-by: hanhanW <[email protected]>
kuhar
left a comment
There was a problem hiding this comment.
Looks good but could we add a test?
We can only add negative test, but we don't test all corner cases. This PR should be treated as a post-fix of the other PR. |
| // TODO(hanchung): Enable partial slices. It was copied from pattern's | ||
| // implementaion, i.e., the users, and it can be dropped after we move the | ||
| // checks to the interface implementations. |
There was a problem hiding this comment.
I am unsure about in which case this check can be dropped in the future? Do you want to support partial slices here?
There was a problem hiding this comment.
Yes, I plan to do it in a follow-up. I think it is very similar to #22360. The main difference between the two resolvers is that the padding resolver gets padded DispatchTensorType while the identity resolver gets the original DispatchTensorType. The offsets/strides/sizes and RankedTensorType types used in compute ops are the same.
…ree-org#22359) The implementation was wrong; the tests are missing. It addresses a post review comment: https://github.com/iree-org/iree/pull/22339/files#r2438738373 Signed-off-by: hanhanW <[email protected]>
The implementation was wrong; the tests are missing. It addresses a post review comment: https://github.com/iree-org/iree/pull/22339/files#r2438738373