bulk change type T to type *T* in spec (#6486)
* bulk change `type T` to `type *T*` in spec * update all `T` which referee to type to use *T* pattern * get back with `T` where T is dimension * fix *T*1 -> *T1* * Make italic types where was no formating
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
|
||||
**Category**: Arithmetic binary operation
|
||||
|
||||
**Short description**: *FloorMod* performs an element-wise floor modulo operation with two given tensors applying broadcasting rule specified in the *auto_broadcast* attribute.
|
||||
**Short description**: *FloorMod* performs an element-wise floor modulo operation with two given tensors applying broadcasting rule specified in the *auto_broadcast* attribute.
|
||||
|
||||
**Detailed description**
|
||||
As a first step input tensors *a* and *b* are broadcasted if their shapes differ. Broadcasting is performed according to `auto_broadcast` attribute specification. As a second step *FloorMod* operation is computed element-wise on the input tensors *a* and *b* according to the formula below:
|
||||
|
||||
\f[
|
||||
o_{i} = a_{i} % b_{i}
|
||||
\f]
|
||||
\f]
|
||||
|
||||
*FloorMod* operation computes a reminder of a floored division. It is the same behaviour like in Python programming language: `floor(x / y) * y + floor_mod(x, y) = x`. The sign of the result is equal to a sign of a divisor. The result of division by zero is undefined.
|
||||
|
||||
@@ -29,12 +29,12 @@ o_{i} = a_{i} % b_{i}
|
||||
|
||||
**Inputs**
|
||||
|
||||
* **1**: A tensor of type T and arbitrary shape. Required.
|
||||
* **2**: A tensor of type T and arbitrary shape. Required.
|
||||
* **1**: A tensor of type *T* and arbitrary shape. Required.
|
||||
* **2**: A tensor of type *T* and arbitrary shape. Required.
|
||||
|
||||
**Outputs**
|
||||
|
||||
* **1**: The result of element-wise floor modulo operation. A tensor of type T with shape equal to broadcasted shape of two inputs.
|
||||
* **1**: The result of element-wise floor modulo operation. A tensor of type *T* with shape equal to broadcasted shape of two inputs.
|
||||
|
||||
**Types**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user