@@ -1353,7 +1353,7 @@ class LSTM(Layer):
1353
1353
Attribute ('return_sequences' , value_type = bool , default = False ),
1354
1354
Attribute ('return_state' , value_type = bool , default = False ),
1355
1355
Attribute ('pass_initial_states' , value_type = bool , default = False ),
1356
- ChoiceAttribute ('direction' , ['forward' , 'backward' , 'bidirectional' ], configurable = False , default = 'forward' ),
1356
+ ChoiceAttribute ('direction' , ['forward' , 'backward' ], configurable = False , default = 'forward' ),
1357
1357
Attribute ('time_major' , value_type = bool , default = False ),
1358
1358
WeightAttribute ('weight' ),
1359
1359
WeightAttribute ('bias' ),
@@ -1410,7 +1410,7 @@ class GRU(Layer):
1410
1410
Attribute ('return_sequences' , value_type = bool , default = False ),
1411
1411
Attribute ('return_state' , value_type = bool , default = False ),
1412
1412
Attribute ('pass_initial_states' , value_type = bool , default = False ),
1413
- ChoiceAttribute ('direction' , ['forward' , 'backward' , 'bidirectional' ], configurable = False , default = 'forward' ),
1413
+ ChoiceAttribute ('direction' , ['forward' , 'backward' ], configurable = False , default = 'forward' ),
1414
1414
Attribute ('time_major' , value_type = bool , default = False ),
1415
1415
ChoiceAttribute ('apply_reset_gate' , ['before' , 'after' ], configurable = False , default = 'after' ),
1416
1416
WeightAttribute ('weight' ),
0 commit comments