| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: migrate case_condition to conversion Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3703 merge migrate-case-condition-conversion into master feat: migrate case_condition to conversion Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## Summary 迁移 CaseCondition 到 ops-math/conversion,按标准 AICPU 交付补齐: - AICPU kernel 与 case_condition_aicpu_def.cpp - op_graph / op_host - UT - README - GE IR example ## Validation - bash ./build.sh --run_example case_condition graph --soc=ascend910_93 --noexec - example 编译通过,生成 test_geir_case_condition 可执行文件 - git diff --cached --check passed before commit See merge request: cann/ops-math!3703 | 24 天前 | |
feat: migrate case_condition to conversion Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3703 merge migrate-case-condition-conversion into master feat: migrate case_condition to conversion Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## Summary 迁移 CaseCondition 到 ops-math/conversion,按标准 AICPU 交付补齐: - AICPU kernel 与 case_condition_aicpu_def.cpp - op_graph / op_host - UT - README - GE IR example ## Validation - bash ./build.sh --run_example case_condition graph --soc=ascend910_93 --noexec - example 编译通过,生成 test_geir_case_condition 可执行文件 - git diff --cached --check passed before commit See merge request: cann/ops-math!3703 | 24 天前 | |
feat: migrate case_condition to conversion Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3703 merge migrate-case-condition-conversion into master feat: migrate case_condition to conversion Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## Summary 迁移 CaseCondition 到 ops-math/conversion,按标准 AICPU 交付补齐: - AICPU kernel 与 case_condition_aicpu_def.cpp - op_graph / op_host - UT - README - GE IR example ## Validation - bash ./build.sh --run_example case_condition graph --soc=ascend910_93 --noexec - example 编译通过,生成 test_geir_case_condition 可执行文件 - git diff --cached --check passed before commit See merge request: cann/ops-math!3703 | 24 天前 | |
feat: migrate case_condition to conversion Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3703 merge migrate-case-condition-conversion into master feat: migrate case_condition to conversion Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## Summary 迁移 CaseCondition 到 ops-math/conversion,按标准 AICPU 交付补齐: - AICPU kernel 与 case_condition_aicpu_def.cpp - op_graph / op_host - UT - README - GE IR example ## Validation - bash ./build.sh --run_example case_condition graph --soc=ascend910_93 --noexec - example 编译通过,生成 test_geir_case_condition 可执行文件 - git diff --cached --check passed before commit See merge request: cann/ops-math!3703 | 24 天前 | |
feat: migrate case_condition to conversion Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3703 merge migrate-case-condition-conversion into master feat: migrate case_condition to conversion Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## Summary 迁移 CaseCondition 到 ops-math/conversion,按标准 AICPU 交付补齐: - AICPU kernel 与 case_condition_aicpu_def.cpp - op_graph / op_host - UT - README - GE IR example ## Validation - bash ./build.sh --run_example case_condition graph --soc=ascend910_93 --noexec - example 编译通过,生成 test_geir_case_condition 可执行文件 - git diff --cached --check passed before commit See merge request: cann/ops-math!3703 | 24 天前 | |
feat: migrate case_condition to conversion Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3703 merge migrate-case-condition-conversion into master feat: migrate case_condition to conversion Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## Summary 迁移 CaseCondition 到 ops-math/conversion,按标准 AICPU 交付补齐: - AICPU kernel 与 case_condition_aicpu_def.cpp - op_graph / op_host - UT - README - GE IR example ## Validation - bash ./build.sh --run_example case_condition graph --soc=ascend910_93 --noexec - example 编译通过,生成 test_geir_case_condition 可执行文件 - git diff --cached --check passed before commit See merge request: cann/ops-math!3703 | 24 天前 |
CaseCondition
产品支持情况
| 产品 | 是否支持 |
|---|---|
| Ascend 950PR/Ascend 950DT | √ |
| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | × |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |
功能说明
- 算子功能:根据三个输入值与阈值的关系,输出离散case编号。
参数说明
| 参数名 | 输入/输出/属性 | 描述 | 数据类型 | 数据格式 |
|---|---|---|---|---|
x |
输入 | 长度为3的一维张量,依次表示i、j、k。 |
INT32、INT64、UINT64 | ND |
algorithm |
属性 | 当前仅支持LU。 |
STRING | - |
y |
输出 | 输出case编号。 | INT32 | ND |
约束说明
x必须为shape[3]的向量。algorithm仅支持LU。
调用说明
| 调用方式 | 调用样例 | 说明 |
|---|---|---|
| 图模式调用 | test_geir_case_condition | 通过算子IR构图方式调用CaseCondition算子。 |