Skip to content

validate runtime input channels in convolution reshape paths#10748

Merged
copybara-service[bot] merged 2 commits into
google:masterfrom
aizu-m:conv-reshape-input-channels
Jul 17, 2026
Merged

validate runtime input channels in convolution reshape paths#10748
copybara-service[bot] merged 2 commits into
google:masterfrom
aizu-m:conv-reshape-input-channels

Conversation

@aizu-m

@aizu-m aizu-m commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

check the input channel dimension against the operator's create-time channels in the convolution, depthwise-convolution and deconvolution reshape paths, otherwise an input reshaped to fewer channels via xnn_reshape_external_value leaves the indirection buffer striding past the end of the shorter input during the igemm read.

Comment thread src/subgraph/convolution-2d.c Outdated
Comment thread test/subgraph/convolution-2d.cc Outdated
@copybara-service
copybara-service Bot merged commit 1dfe86e into google:master Jul 17, 2026
12 checks passed
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