Skip to content

Conversation

@Anndrey24
Copy link
Contributor

Refactored out a piece of common functionality from the conv2d_gemm_weight_transform and interleave_transpose_weights functions, which has previously led to bugs stemming from changes made to only one but not the other, like in #15584.
Determining the necessary padding for the interleaved and transposed weights matrix has now been separated into a new utility function, allowing future changes to be reflected in both callers.

cc @ekalda @lhutton1 @neildhickey @leandron

Refactored out a piece of common functionality from the `conv2d_gemm_weight_transform` and `interleave_transpose_weights` functions, which has previously led to bugs stemming from changes made to only one but not the other, like in apache#15584.
Determining the necessary padding for the interleaved and transposed weights matrix has now been separated into a new utility function, allowing future changes to be reflected in both callers.
@Hzfengsy Hzfengsy merged commit 2c2bb5e into apache:main Nov 7, 2023
@Anndrey24 Anndrey24 deleted the conv2d-weights-transform branch November 7, 2023 09:37
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.

2 participants