pypto.Tensor.remainder
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
remainder(self, other: 'Tensor | int | float', precision_type: PrecisionType = PrecisionType.HIGH_PRECISION) -> 'Tensor'Parameters
| Parameter | Input/Output | Description |
|---|---|---|
| other | Input | Divisor. Supported types: Tensor, int, and float. |
| precision_type | Input | Precision mode enumeration type, used to control the precision mode of the remainder calculation. For details, see PrecisionType. Defaults to HIGH_PRECISION (high-precision mode). |
Description
See pypto.remainder.