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

fixed glog (#44316)

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