|
|
|
@@ -40,7 +40,7 @@ Status HostCpuOpsKernelBuilder::CalcOpRunningParam(Node &ge_node) { |
|
|
|
OpDescPtr op_desc = ge_node.GetOpDesc(); |
|
|
|
if (op_desc == nullptr) { |
|
|
|
GELOGE(FAILED, "CalcOpRunningParam failed, as op desc is null"); |
|
|
|
REPORT_INPUT_ERROR("E19999", "CalcOpRunningParam failed, as op desc is null"); |
|
|
|
REPORT_INNER_ERROR("E19999", "CalcOpRunningParam failed, as op desc is null"); |
|
|
|
return FAILED; |
|
|
|
} |
|
|
|
|
|
|
|
@@ -78,7 +78,7 @@ Status HostCpuOpsKernelBuilder::CalcOpRunningParam(Node &ge_node) { |
|
|
|
name.c_str(), type.c_str(), i, output_mem_size, TypeUtils::FormatToSerialString(format).c_str(), |
|
|
|
TypeUtils::DataTypeToSerialString(data_type).c_str()); |
|
|
|
|
|
|
|
REPORT_INNER_ERROR("E19999", "Calc op[%s:%s] out[%zu] mem size failed, mem_size=%ld, format=%s, data_type=%s.", |
|
|
|
REPORT_INNER_ERROR("E19999", "Calc op[%s:%s] out[%zu] mem size failed, mem_size=%ld, format=%s, data_type=%s.", |
|
|
|
name.c_str(), type.c_str(), i, output_mem_size, TypeUtils::FormatToSerialString(format).c_str(), |
|
|
|
TypeUtils::DataTypeToSerialString(data_type).c_str()); |
|
|
|
|
|
|
|
@@ -93,7 +93,7 @@ Status HostCpuOpsKernelBuilder::CalcOpRunningParam(Node &ge_node) { |
|
|
|
GELOGE(FAILED, "Update op[%s:%s] out[%zu] desc failed, format=%s, data_type=%s.", name.c_str(), type.c_str(), i, |
|
|
|
TypeUtils::FormatToSerialString(format).c_str(), TypeUtils::DataTypeToSerialString(data_type).c_str()); |
|
|
|
|
|
|
|
REPORT_INNER_ERROR("E19999", "Update op[%s:%s] out[%zu] desc failed, format=%s, data_type=%s.", name.c_str(), type.c_str(), i, |
|
|
|
REPORT_INNER_ERROR("E19999", "Update op[%s:%s] out[%zu] desc failed, 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; |
|
|
|
|