FilesLast commitLast update
7 days ago
25 days ago
3 months ago
25 days ago
20 days ago
28 days ago
29 days ago
29 days ago
8 days ago
28 days ago
25 days ago
8 days ago
README

NotEqual

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: compares whether the two input tensors are not equal element by element
  • Computation formula:

yi={True,if xi,1≠xi,2False,otherwise\text{y}_i = \begin{cases} True,&\text{if }x_{i, 1} \ne x_{i,2} \\ False,&\text{otherwise} \end{cases}

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x1 Input Input x1 in the formula. DOUBLE, FLOAT16, FLOAT, BFLOAT16, INT64, INT32, INT8, UINT8, BOOL, INT16, COMPLEX64, COMPLEX128, UINT64 ND
x2 Input Input x2 in the formula. DOUBLE, FLOAT16, FLOAT, BFLOAT16, INT64, INT32, INT8, UINT8, BOOL, INT16, COMPLEX64, COMPLEX128, UINT64 ND
y Output y in the formula. BOOL ND

Invocation Description

Invocation Method Invocation Sample Description
aclnn API test_aclnn_ne_tensor Invokes the NotEqual operator through the aclnnNeTensor API
GE graph mode test_geir_not_equal Invokes the NotEqual operator by building a graph through the operator IR