From a7e81c90813c5bc54c315a9836c22a789f3a44cb Mon Sep 17 00:00:00 2001 From: liyanrong9 Date: Tue, 17 Jun 2025 17:27:36 +0800 Subject: [PATCH] =?UTF-8?q?metadef=20=E6=97=A5=E5=BF=97=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../graph_optimizer/graph_fusion/fusion_quant_util_impl.cc | 2 +- register/op_tiling/op_tiling_py.cc | 6 +++--- third_party/transformer/src/transfer_shape_utils.cc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 036e4b80d0..6de787a4b6 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 85e27870f3..a5e4e51da0 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 8bb7793103..680e5ea48b 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)) { -- Gitee