Description: Computes the group normalization result out, mean value meanOut, and reciprocal of the standard deviation rstdOut of the input self.
Formula:
Assume , where represents the mean value of , and represents the sample variance of .
Each operator has calls. First, aclnnGroupNormGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnGroupNorm is called to perform computation.
Parameters
[object Object][object Object]Atlas training products[object Object] and [object Object]Atlas inference products[object Object]:
The data types of self, gamma, beta, out, meanOut, and rstdOut cannot be BFLOAT16.
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:
- aclnnGroupNorm defaults to a deterministic implementation.
The following example is for reference only. For details, see .