Method FMod
FMod(TensorInt, TensorInt)
Performs an element-wise Mod math operation: f(a, b) = a % b.
The sign of the remainder is the same as the sign of the dividend, as in C#.
This supports numpy-style broadcasting of input tensors.
Declaration
public TensorInt FMod(TensorInt A, TensorInt B)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorInt | A | The first input tensor. |
| TensorInt | B | The second input tensor. |
Returns
| Type | Description |
|---|---|
| TensorInt | The computed output tensor. |
FMod(TensorFloat, TensorFloat)
Performs an element-wise Mod math operation: f(a, b) = a % b.
The sign of the remainder is the same as the sign of the dividend, as in C#.
This supports numpy-style broadcasting of input tensors.
Declaration
public TensorFloat FMod(TensorFloat A, TensorFloat B)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorFloat | A | The first input tensor. |
| TensorFloat | B | The second input tensor. |
Returns
| Type | Description |
|---|---|
| TensorFloat | The computed output tensor. |