[BYOC-DNNL] enable conv3d->bn folding#10837
Merged
Merged
Conversation
Member
|
Is it possible to unify 2D and 3D impls? Also please add test cases. |
Author
|
Is it possible to identify |
Member
|
yeah, for example Lines 427 to 432 in 4322ebc |
Author
Thank you so much! I will try to unify 2D and 3D impls. |
Author
|
Hi @masahi, would you please review this PR and give me some suggestions? |
masahi
approved these changes
Apr 11, 2022
masahi
left a comment
Member
There was a problem hiding this comment.
Sorry forgot.
I have one minor comment, please address it in the next PR.
| const auto* param = ref_call->attrs.as<Conv2DAttrs>(); | ||
| return ConvForwardRewrite(ref_call, param, new_args, message); | ||
| } | ||
| const auto* param = ref_call->attrs.as<Conv3DAttrs>(); |
Member
There was a problem hiding this comment.
ICHECK(param)
Add that to other places as well.
mehrdadh
pushed a commit
to mehrdadh/tvm
that referenced
this pull request
Apr 11, 2022
* support conv3d bn folding * add test case for fold_scale_axis * modify lint * remove test cases * unify conv2d 3d impls, and add test cases.
altanh
pushed a commit
to altanh/tvm
that referenced
this pull request
Apr 28, 2022
* support conv3d bn folding * add test case for fold_scale_axis * modify lint * remove test cases * unify conv2d 3d impls, and add test cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains two modifications: