Skip to content

Commit 4c3d26e

Browse files
author
Enrico Lupi
committed
FIX eliminate activation after bidirectional rnn
1 parent c469793 commit 4c3d26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hls4ml/converters/keras_v2_to_hls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def parse_keras_model(model_arch, reader):
241241
'HGQ>UnaryLUT',
242242
]
243243
# Recurrent layers
244-
recurrent_layers = ['SimpleRNN', 'LSTM', 'GRU', 'QSimpleRNN', 'QLSTM', 'QGRU', 'BLSTM', 'BGRU']
244+
recurrent_layers = ['SimpleRNN', 'LSTM', 'GRU', 'QSimpleRNN', 'QLSTM', 'QGRU', 'BidirectionalLSTM', 'BidirectionalGRU']
245245
# All supported layers
246246
supported_layers = get_supported_keras_layers() + skip_layers
247247

0 commit comments

Comments
 (0)