未验证 提交 cb44b694 编写于 作者: W WJJ1995 提交者: GitHub

fixed glog (#44316)

上级 325f5921
...@@ -99,10 +99,11 @@ void ElementwiseActivationOneDNNPass::FuseElementwiseAct( ...@@ -99,10 +99,11 @@ void ElementwiseActivationOneDNNPass::FuseElementwiseAct(
gpd(graph, handler); gpd(graph, handler);
AddStatis(found_elementwise_activation_count); AddStatis(found_elementwise_activation_count);
PrettyLogDetail("--- fused %d %s with %s activation", if (!Has("disable_logs") || !Get<bool>("disable_logs"))
found_elementwise_activation_count, PrettyLogDetail("--- fused %d %s with %s activation",
elt_type, found_elementwise_activation_count,
act_type); elt_type,
act_type);
} }
} // namespace ir } // namespace ir
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册