- Description: The GemmaRmsNorm operator is a normalization operation commonly used in foundation models. Compared with the RmsNorm operator, it adds 1 to gamma during computation.
- Formula:
Each operator has calls. First, [object Object] is called to obtain the input parameters and compute the required workspace size based on the process. Then, [object Object] is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]Returns
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
Functional dimensions:
Unsupported types:
The instruction does not support DOUBLE.
Boundary value scenarios:
- When the input is Inf, the output is Inf.
- When the input is NaN, the output is NaN.
Data types supported by different platforms:
[object Object]undefined
Deterministic computation:
- aclnnGemmaRmsNorm defaults to deterministic implementation.
The following example is for reference only. For details, see .
[object Object]