[lstm] implement bidirectional lstm forward
authorhyeonseok lee <hs89.lee@samsung.com>
Fri, 14 Jan 2022 04:29:57 +0000 (13:29 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 8 Feb 2022 04:41:23 +0000 (13:41 +0900)
commite7aebbc54f8d2df9d99fa6f6e8e826fc7da844ef
treed7435acc8d84a39be48ed71880265c6b9fd99f55
parenta89facd88a6784d941761e72723868aa0fca9b19
[lstm] implement bidirectional lstm forward

 - Make batch_first_forward function
 - For now only support forward for bidirectional lstm

Signed-off-by: hyeonseok lee <hs89.lee@samsung.com>
nntrainer/layers/common_properties.cpp
nntrainer/layers/common_properties.h
nntrainer/layers/lstm.cpp
nntrainer/layers/lstm.h
test/input_gen/genModelsRecurrent_v2.py
test/input_gen/transLayer_v2.py
test/unittest/models/unittest_models_recurrent.cpp