pypto.Tensor.fmod
Applicable Products
- Ascend 950PR/Ascend 950DT: Supported
- Atlas A3 training products/Atlas A3 inference products: Supported
- Atlas A2 training products/Atlas A2 inference products: Supported
Prototype
fmod(self, other: 'Tensor | int | float', precision_type: PrecisionType = PrecisionType.HIGH_PRECISION) -> 'Tensor'Parameters
| Parameter | Input/Output | Description |
|---|---|---|
| other | Input | Divisor. Supported types: Tensor, int, float. |
| precision_type | Input | Precision mode enumeration type, used to control the precision mode of the modulo computation. For details, see PrecisionType. Defaults to HIGH_PRECISION (high-precision mode). |
Detailed Description
See pypto.fmod.