Skip to content

onnx frontend support layout choice depend on hardware target supported layout with NCHW and NHWC#4474

Closed
Beya2019 wants to merge 2 commits into
apache:masterfrom
Beya2019:master
Closed

onnx frontend support layout choice depend on hardware target supported layout with NCHW and NHWC#4474
Beya2019 wants to merge 2 commits into
apache:masterfrom
Beya2019:master

Conversation

@Beya2019

@Beya2019 Beya2019 commented Dec 6, 2019

Copy link
Copy Markdown
Contributor

This submission adds a feature that onnx frontend support layout choice with NCHW and NHWC depended on hardware target supported layout . Now every frontend framework does not support layout choice depend. Such as, relay.frontend.from_onnx only support NCHW and relay.frontend.from_tensorflow only support NHWC. Given that TVM is supported NCHW and NHWC,
and if our target hardware support NHWC, we should add NHWC layout in onnx frontend to produce the NHWC graph and finally compute on the target hardware.

@vinx13 would you be able to take a look?

@Beya2019 Beya2019 closed this Dec 6, 2019
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