-
Notifications
You must be signed in to change notification settings - Fork 158
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
[onert] Introduce DepthwiseConvOp in cpu kernel #13574
Conversation
|
1668625
to
37dd5ca
Compare
Need #13582 |
37dd5ca
to
9d3ae53
Compare
This commit introduces DepthwiseConvOp in cpu kernel. This kernel uses depthwise_conv and bias_op eigen functions. ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
9d3ae53
to
456968c
Compare
ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
The code was changed to support optional bias data in DepthwiseConv2D cpu kernel. :)
In ONERT, the DepthwiseConv2D always has bias data. However, this behaviour can be changed because the DepthwiseConv2D does not necessarily require bias data. Please take another look. :) |
This comment was marked as resolved.
This comment was marked as resolved.
@jyoungyun |
Yes, you're right.
The codes under In this case, ONERT does not support optional bias_data. However, CPU kernel that I imlemented on this PR supports optional bias_data because I think it is better to support more diverse functions in the cpu kernel. If ONERT supports optional bias in the future, we can support it without modifying this kernel. Therefore, this cpu kernel has decided to support optional bias even though ONERT does not support it. :) |
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
@Samsung/one_onert Please merge this PR. :) |
This commit introduces DepthwiseConvOp in cpu kernel.
This kernel uses depthwise_conv and bias_op eigen functions.
ONE-DCO-1.0-Signed-off-by: Jiyoung Yun [email protected]