Conj
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: returns the conjugate of a complex tensor. It takes the conjugate of each complex element in the input (the real part remains unchanged, and the imaginary part is negated).
-
Computation formula: output = conj(input), that is, output = a - bi, where input = a + bi
Parameter Description
| Parameter Name | Input/Output/Attribute | Description | Data Type | Data Format |
|---|---|---|---|---|
| input | Input | Input complex tensor. | COMPLEX64, COMPLEX128 | ND |
| output | Output | Conjugate of the input tensor, whose shape is the same as that of input. | COMPLEX64, COMPLEX128 | ND |
Constraint Description
- None.
Invocation Description
| Invocation Method | Sample Code | Description |
|---|---|---|
| Graph-mode invocation | test_geir_conj | Invokes the conj operator by building a graph through the operator IR. |