FilesLast commitLast update
3 months ago
2 months ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
6 days ago
README

CaseCondition

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products √
Atlas A3 products √
Atlas A2 products √
Atlas 200I/500 A2 inference products ×
Atlas inference products √
Atlas training products √

Function Description

  • Operator function: outputs discrete case numbers based on the relationship between three input values and thresholds.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input A 1D tensor with a length of 3, sequentially representing i, j, and k. INT32, INT64, UINT64 ND
algorithm Attribute Currently, only LU is supported. STRING -
y Output Output case number. INT32 ND

Constraint Description

  • x must be a vector with shape [3].
  • algorithm supports only LU.

Invocation Description

Invocation Method Invocation Sample Description
Graph-mode invocation test_geir_case_condition Invokes the CaseCondition operator by building a graph through the operator IR.