[zoneout] enable zoneout only when used
authorhyeonseok lee <hs89.lee@samsung.com>
Wed, 9 Feb 2022 08:15:03 +0000 (17:15 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Thu, 21 Apr 2022 01:05:48 +0000 (10:05 +0900)
commitf94f412207fe1cd3da8ba459afa92bad66fc756a
tree3157489756a8e419f4d6071c84b26193b0bb286b
parentc53dfbeacea2b8c1b85ba8805a2027389552ca39
[zoneout] enable zoneout only when used

 - Allocate and use zoneout mask, lstm_cell_state only when used

Signed-off-by: hyeonseok lee <hs89.lee@samsung.com>
nntrainer/layers/zoneout_lstmcell.cpp