Implement RMS (Root Mean Square) Normalization for a 2D tensor.
Normalize the input by dividing each element by the root mean square of the features in each sample. More formally, compute:
where the mean is computed along the feature dimension for each sample in the batch independently. is a small value added to the denominator for numerical stability.
Sample Run Results
Hit "Run" to test your code with sample inputs
Loading editor...
CUDA C++ environment
For the best coding experience, please switch to a desktop device to write and submit your solution.