mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-11 17:00:18 +00:00
Refine layernorm naming and test code (#497)
* Sync the naming * Sync the test of layernorm with groupnorm * Sync the naming * Minor change for comment and log * [What] Add saveMean and SaveInvVariance in the interface. [Why] These can optimize the backward
This commit is contained in:
@@ -20,7 +20,7 @@ class TestGroupnorm : public ::testing::Test
|
||||
|
||||
void Run()
|
||||
{
|
||||
// N, H, W, G, C
|
||||
// [N, H, W, G, C], reduce H, W, C
|
||||
std::vector<std::vector<ck::index_t>> lengths = {{1, 1, 1, 1, 1},
|
||||
{1, 2, 3, 4, 5},
|
||||
{256, 9, 9, 9, 9},
|
||||
|
||||
Reference in New Issue
Block a user