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

fixed glog (#44316)

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