-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Relay][Convert Layout] Enable layout transformation for image.resize op #8205
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Nice, this should help TensorRT as well. |
@jtuyls please fix the CI. |
… op (apache#8205) * Enable layout transformation for image.resize op * Change str map function to str and index retrieval * Fix for pytorch frontend segmentation models test
… op (apache#8205) * Enable layout transformation for image.resize op * Change str map function to str and index retrieval * Fix for pytorch frontend segmentation models test
This PR adds layout transformation support for the image.resize operation. This is useful for custom codegens as it allows creating larger partitions with the same layout in segmentation models (e.g. deeplabv3). In particular, this allows the Vitis AI codegen to offload a larger part of the model to the DPU accelerator if applicable.
@anijain2305 @yzhliu @trevor-m Could you please help with reviewing this PR?