- Function: Performs elementwise computation.
- Formulas:
Each operator is divided into two-phase APIs (../common/two_phase_apis.md). You must call the aclnnMaskedScaleGetWorkspaceSize API to obtain the input parameters, calculate the required workspace size based on the process, and then call the aclnnMaskedScale API to perform computation.
[object Object]
[object Object]
Parameter description:
[object Object]Returns
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned.
[object Object]
- Deterministic computation:
- The aclnnMaskedScale is implemented in deterministic mode by default.
The following example is for reference only. For details, see .
[object Object]