-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Yingsheng bd/remove enable int8 in opbridge #5591
Yingsheng bd/remove enable int8 in opbridge #5591
Conversation
Thanks for your contribution! |
@@ -57,7 +57,11 @@ int ConvConverter(void* ctx, OpLite* op, KernelBase* kernel) { | |||
std::vector<int> paddings = op_info->GetAttr<std::vector<int>>("paddings"); | |||
auto groups = op_info->GetAttr<int>("groups"); | |||
std::vector<int> dilations = op_info->GetAttr<std::vector<int>>("dilations"); | |||
auto fuse_relu = op_info->GetAttr<bool>("fuse_relu"); | |||
bool fuse_relu = false; |
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.
这个改动的目的是啥?
bool fuse_relu = false; | ||
fuse_relu = op_info->GetAttr<bool>("fuse_relu"); | ||
if (fuse_relu) { | ||
VLOG(3) << "!!!the op has RELU "; |
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.
log不要写的太随意
test=develop
test=develop
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
remove the attr:enable_int8 in mtkAPU,NNA,rkNPU
test=develop