From d43669d6526d2c366830e9142133f10302acd2c3 Mon Sep 17 00:00:00 2001 From: hyeonseok lee Date: Tue, 7 Dec 2021 14:05:38 +0900 Subject: [PATCH] [hotfix] Enable zoneout lstmcell unittest - Fix broken zoneout lstmcell unittest Self evaluation: Build test: [X]Passed [ ]Failed [ ]Skipped Run test: [X]Passed [ ]Failed [ ]Skipped Signed-off-by: hyeonseok lee --- test/unittest/models/unittest_models_recurrent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unittest/models/unittest_models_recurrent.cpp b/test/unittest/models/unittest_models_recurrent.cpp index 7f40c2d..ba32e95 100644 --- a/test/unittest/models/unittest_models_recurrent.cpp +++ b/test/unittest/models/unittest_models_recurrent.cpp @@ -283,7 +283,7 @@ static std::unique_ptr makeSingleZoneoutLSTMCell() { ml::train::ReferenceLayersType::RECURRENT, { "unroll_for=2", - "return_sequences=true", + "as_sequence=a1", "recurrent_input=a1", "recurrent_output=a1", }); @@ -319,7 +319,7 @@ static std::unique_ptr makeStackedZoneoutLSTMCell() { ml::train::ReferenceLayersType::RECURRENT, { "unroll_for=2", - "return_sequences=true", + "as_sequence=a2", "recurrent_input=a1", "recurrent_output=a2", }); -- 2.7.4