update spec

This commit is contained in:
pszmel
2021-05-31 13:24:49 +02:00
parent cc810297f4
commit 4c431d753d

View File

@@ -2,32 +2,33 @@
**Versioned name**: *Negative-1*
**Category**: Arithmetic unary operation
**Category**: Arithmetic unary operation
**Short description**: *Negative* performs element-wise negative operation with given tensor.
**Detailed description**: For each element from the input tensor calculates corresponding
element in the output tensor with the following formula:
\f[
a_{i} = -a_{i}
\f]
**Attributes**:
No attributes available.
**Inputs**
* **1**: An tensor of type T. **Required.**
* **1**: A tensor of type *T* and arbitrary shape. **Required.**
**Outputs**
* **1**: The result of element-wise negative operation. A tensor of type T.
* **1**: The result of element-wise negative operation. A tensor of type *T*.
**Types**
* *T*: any numeric type.
*Negative* does the following with the input tensor *a*:
\f[
a_{i} = -a_{i}
\f]
**Examples**
*Example 1*
@@ -47,4 +48,4 @@ a_{i} = -a_{i}
</port>
</output>
</layer>
```
```