Closed
[Requirement|需求建议]: 统一代码风格并修正 Add 算子文档及测试脚本 #4787
cai-chengchaoAdd on 17 hours agoClosed at 12 hours ago
17 hours ago Added label: requirement
cai-chengchao
17 hours ago Comments:
17 hours ago Comments:
/assign @cai-chengchao


17 hours ago Assign cai-chengchao as responsible person
12 hours ago Close issue
12 hours ago changed custom state from 待办的 to 已完成
11 hours ago Added label: resolved
一、背景信息
ops-math 仓库存在以下待统一/修正的内容:
二、价值/作用
三、设计方案
3.1 使能方式(涉及哪些框架:如Aclnn直调、Pytorch训练等)
Add 算子支持 aclnn API 调用与 GE 图模式调用(见 math/add/README.md 调用方式表格)。
3.2 总体设计
3.2.1 算子支持的数据类型
BOOL、INT8、INT16、INT32、INT64、UINT8、FLOAT64、FLOAT16、BFLOAT16、FLOAT32、COMPLEX128、COMPLEX64(见 math/add/README.md)。
3.2.2 host侧设计
对 common/inc/op_host 下头文件仅做 clang-format 格式调整与换行符补齐,不改变 host 侧逻辑。
3.2.3 kernel侧设计
本次改动不涉及 kernel 侧逻辑变更。
3.3 支持硬件
本次改动不涉及硬件适配变更。
3.4 算子约束限制
本次改动不涉及算子约束的放宽或收紧。
关联 PR:https://gitcode.com/cann/ops-math/pull/7417