API function: Computes the mean value and the reciprocal of the standard deviation for the input data of a single card.
Formulas:
Mean value:
Reciprocal of standard deviation:
Each operator is divided into two phases (../common/Two-Phase Interface.md). You must call the aclnnBatchNormStatsGetWorkspaceSize API to obtain the input parameters, calculate the required workspace size based on the workflow, and then call the aclnnBatchNormStats API to perform the calculation.
[object Object]
[object Object]
Parameters:
[object Object]- [object Object]Atlas A2 training products/Atlas A2 inference products[object Object], [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], and [object Object]Atlas training products[object Object]:
- The
[object Object]data type does not support BFLOAT16.
- The
- [object Object]Atlas A2 training products/Atlas A2 inference products[object Object], [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], and [object Object]Atlas training products[object Object]:
Returns:
[object Object]: status code. For details, see .The first-phase API performs input parameter validation. The following errors may be returned:
[object Object]
- Deterministic computation:
[object Object]defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]