Skip to content

Add input tensor dimension type detection to support both CAFFE and TENSORFLOW formats - #4187

Merged
wangzhaode merged 1 commit into
alibaba:masterfrom
eecn:master
Mar 6, 2026
Merged

Add input tensor dimension type detection to support both CAFFE and TENSORFLOW formats#4187
wangzhaode merged 1 commit into
alibaba:masterfrom
eecn:master

Conversation

@eecn

@eecn eecn commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

Automatically set correct input shape based on dimension type:

  • CAFFE format uses NCHW order [1, 3, height, width]
  • TENSORFLOW format uses NHWC order [1, height, width, 3]

@CLAassistant

CLAassistant commented Feb 28, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@wangzhaode wangzhaode self-assigned this Mar 6, 2026
@wangzhaode
wangzhaode merged commit 6d15246 into alibaba:master Mar 6, 2026
1 check passed
EricMoin pushed a commit to EricMoin/MNN that referenced this pull request Mar 7, 2026
EricMoin pushed a commit to EricMoin/MNN that referenced this pull request Mar 10, 2026
HenryDen pushed a commit to HenryDen/MNN that referenced this pull request Mar 24, 2026
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.

3 participants