|
|
|
@@ -39,9 +39,9 @@ Status HostCpuOpsKernelBuilder::Initialize(const map<std::string, std::string> & |
|
|
|
Status HostCpuOpsKernelBuilder::CalcOpRunningParam(Node &ge_node) { |
|
|
|
OpDescPtr op_desc = ge_node.GetOpDesc(); |
|
|
|
if (op_desc == nullptr) { |
|
|
|
GELOGE(FAILED, "[Check][Param:OpDesc]nullptr is invalid, node:%s.", ge_node->GetName().c_str()); |
|
|
|
GELOGE(FAILED, "[Check][Param:OpDesc]nullptr is invalid, node:%s.", ge_node.GetName().c_str()); |
|
|
|
REPORT_INNER_ERROR("E19999", "OpDesc is nullptr in node:%s, check invalid when CalcOpRunningParam", |
|
|
|
ge_node->GetName().c_str()); |
|
|
|
ge_node.GetName().c_str()); |
|
|
|
return FAILED; |
|
|
|
} |
|
|
|
|
|
|
|
@@ -92,9 +92,9 @@ Status HostCpuOpsKernelBuilder::CalcOpRunningParam(Node &ge_node) { |
|
|
|
GELOGE(FAILED, "[Update][OutputDesc] fail for op[%s:%s] out[%zu], format=%s, data_type=%s.", |
|
|
|
name.c_str(), type.c_str(), i, TypeUtils::FormatToSerialString(format).c_str(), |
|
|
|
TypeUtils::DataTypeToSerialString(data_type).c_str()); |
|
|
|
REPORT_CALL_ERROR("E19999", "UpdateOutputDesc failed when CalcOpRunningParam. " |
|
|
|
"fail for op[%s:%s] out[%zu], format=%s, data_type=%s.", name.c_str(), type.c_str(), i, |
|
|
|
TypeUtils::FormatToSerialString(format).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str()); |
|
|
|
REPORT_CALL_ERROR("E19999", "UpdateOutputDesc failed, fail for op[%s:%s] out[%zu], format=%s, data_type=%s.", |
|
|
|
name.c_str(), type.c_str(), i, TypeUtils::FormatToSerialString(format).c_str(), |
|
|
|
TypeUtils::DataTypeToSerialString(data_type).c_str()); |
|
|
|
return FAILED; |
|
|
|
} |
|
|
|
} |
|
|
|
|