Closed
[日志] 日志文案中英文 zero 统一替换为数字 0 #769
liu-weiAdd on  Aug 19Closed at  Aug 25
liu-wei
liu-weiCollaborators
Aug 19 Create

需求描述

日志文案中存在中英文混用问题:英文单词 zero 与数字 0 混用,需统一为数字 0。

实现方案

PR: https://gitcode.com/cann/ops-cv/pull/1312

  • greater than zero → greater than 0(14 处)
  • is zero → is 0(8 处)
  • small than zero → small than 0(3 处)
  • zero or negative → 0 or negative(1 处)
  • ASSERT 消息中 zero → 0(5 处)

共 26 个文件,纯文案修改,ASSERT 条件本身未改动。

涉及文件

  • common/inc/op_api/level2_base.h
  • image/ 各算子 tiling 19 个文件
  • objdetect/ 各算子 5 个文件
  • image/col2im aclnn

关联 PR

  • #1312
likedislike
liu-weiliu-weiCollaborators
Aug 19 Assign liu-wei as responsible person
CANN-robotCANN-robotCollaborators
Aug 25 Close issue
CANN-robotCANN-robotCollaborators
Aug 25 Added label: resolved