Browse Source

!600 modify tbe attr log

Merge pull request !600 from dengwentao/modify_tbe_attr_log
tags/v0.2.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
ccf5947e12
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mindspore/ccsrc/kernel/tbe/tbe_kernel_build.cc

+ 2
- 1
mindspore/ccsrc/kernel/tbe/tbe_kernel_build.cc View File

@@ -385,7 +385,8 @@ bool TbeKernelJsonCreator::GenTbeAttrJson(const std::shared_ptr<AnfNode> &anf_no
(*attrs_json).push_back(attr_obj);
} else {
if (attr_ptr->param_type() == "required" && creater_type_ == SINGLE_BUILD && op_info->impl_path() != "") {
MS_LOG(EXCEPTION) << "op name: " << op_info->op_name() << " attr: " << attr_name << "is required, but not set.";
MS_LOG(EXCEPTION) << "op name: " << op_info->op_name() << " attr: " << attr_name
<< " is required, but not set.";
}
}
}


Loading…
Cancel
Save