fix: spell error

This commit is contained in:
jinxiaoxian 2021-12-16 16:03:18 +08:00
parent 01fc6efc7d
commit 0df5dcee55
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ def fake_quant_per_layer_compute(x, min_val, max_val, y, quant_min, quant_max, s
nudge_min = te.lang.cce.vmul(te.lang.cce.vsub(quant_min, nudge_zp), scale)
nudge_max = te.lang.cce.vmul(te.lang.cce.vsub(quant_max, nudge_zp), scale)
# boradcast to shape
# broadcast to shape
nudge_min = te.lang.cce.broadcast(nudge_min, shape, x.dtype)
nudge_max = te.lang.cce.broadcast(nudge_max, shape, x.dtype)
scale = te.lang.cce.broadcast(scale, shape, x.dtype)

View File

@ -24,7 +24,7 @@ from mindspore.profiler.common.exceptions.exceptions import ProfilerParamTypeErr
from mindspore import log
from mindspore.profiler.common.util import to_int
AICORE_TYPE_COL = ["op_type", "execution_time", "execution_frequency", "precent"]
AICORE_TYPE_COL = ["op_type", "execution_time", "execution_frequency", "percent"]
AICORE_DETAIL_COL = ["op_name", "op_type", "avg_execution_time", "subgraph", "full_op_name"]
AICPU_COL = ["serial_number", "op_type", "total_time", "dispatch_time", "run_start",
"run_end"]