提交 00502702 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!970 [MS][Log]Warning can be degrade or just print in debug mode.

Merge pull request !970 from huanghui/update-print-log-level
......@@ -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.
先完成此消息的编辑!
想要评论请 注册