diff --git a/register/graph_optimizer/graph_fusion/fusion_quant_util_impl.cc b/register/graph_optimizer/graph_fusion/fusion_quant_util_impl.cc index 036e4b80d0259cbf5fdc921e040c953aef8f152a..6de787a4b6121d2b6f589a3f7b14f13e487d6be5 100644 --- a/register/graph_optimizer/graph_fusion/fusion_quant_util_impl.cc +++ b/register/graph_optimizer/graph_fusion/fusion_quant_util_impl.cc @@ -1091,7 +1091,7 @@ Status QuantUtilImpl::SetAttrForRequantHostCpuOp(ge::OpDescPtr &req_host_op_desc const uint64_t *req_scale_data_int = reinterpret_cast(req_scale_data_tmp); for (int64_t i = 0; i < req_co; i++) { const int8_t req_n = static_cast(GET_REQUANT_N(req_scale_data_int[i])); - GELOGD("Qeq_scale N value[%ld] is %d", i, req_n); + GELOGD("req_scale N value[%ld] is %d", i, req_n); if (req_n != 0) { (void)ge::AttrUtils::SetStr(req_host_op_desc, kAttrQuantMode, kQuantHighPerformance); break; diff --git a/register/op_tiling/op_tiling_py.cc b/register/op_tiling/op_tiling_py.cc index 85e27870f3d296a20140d45e92cd2f6bc9426652..a5e4e51da05a2da38fbe24b06bb41e99a43865da 100644 --- a/register/op_tiling/op_tiling_py.cc +++ b/register/op_tiling/op_tiling_py.cc @@ -946,7 +946,7 @@ void ParseConstShapeDesc(const nlohmann::json &shape_json, std::map value; const bool bres = CopyConstData(dtype_str, shape_json["const_value"], value); if (!bres) { - GE_LOGE("CopyConstData faild. buffer is null"); + GE_LOGE("CopyConstData faild. buffer is null"); return; } auto res = const_values.emplace(name, std::move(value)); @@ -1740,7 +1740,7 @@ int TbeOptilingPyInterfaceNew(const char *const op_type, const char *const compi REPORT_CALL_ERROR("E19999", "Dump op %s tiling result failed", op_type); return 0; } - GELOGI("Op tiling suceed. op_type:%s", op_type); + GELOGI("Op tiling succeed. op_type:%s", op_type); return 1; } diff --git a/third_party/transformer/src/transfer_shape_utils.cc b/third_party/transformer/src/transfer_shape_utils.cc index 8bb77931037e99c1e2201a453060f26cdfeb6cca..680e5ea48b6f0fdff9e8f68e62e1874a862fd681 100644 --- a/third_party/transformer/src/transfer_shape_utils.cc +++ b/third_party/transformer/src/transfer_shape_utils.cc @@ -217,7 +217,7 @@ bool TransferShapeUtils::TransferShape(const ge::Format &origin_format, const ge if (!InitPlatformInfo(platform_infos_ptr)) { GELOGW("Init platform info failed"); } - GELOGD("Tranfer shape from original format[%d] to format [%d].", origin_format, format); + GELOGD("Transfer shape from original format[%d] to format [%d].", origin_format, format); ge::Format primary_format = static_cast(GetPrimaryFormat(format)); ge::Format origin_primary_format = static_cast(GetPrimaryFormat(origin_format)); if (!IsNeedTransferShape(origin_primary_format, primary_format, origin_shape)) {