提交 20643028 编写于 作者: H huanghui

degrade WARNING to DEBUG in derelu_fusion pass

上级 a5572f15
......@@ -54,7 +54,7 @@ CNodePtr CreateReluV2(const FuncGraphPtr &graph, const CNodePtr &relu) {
TypeId mask_dtype = kNumberTypeUInt8;
std::vector<size_t> mask_shape = AnfAlgo::GetOutputInferShape(relu, 0);
if (mask_shape.size() != 4) {
MS_LOG(WARNING) << "relu's infer shape size not equal 4";
MS_LOG(DEBUG) << "relu's infer shape size not equal 4";
return nullptr;
}
auto input_dtype = AnfAlgo::GetPrevNodeOutputInferDataType(relu, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册