Skip to content

Commit ffef065

Browse files
authored
test_fusion_lstm_op.py modify use_mkldnn [fluid_ops] (#74503)
* Fix * Fix * Fix
1 parent 19ca58d commit ffef065

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddle/phi/ops/yaml/op_compat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@
17651765
attrs :
17661766
{scale_data : Scale_data, shift_data : Shift_data, scale_weights : Scale_weights}
17671767
extra :
1768-
attrs : [bool use_mkldnn = true, bool use_onednn = false, str mkldnn_data_type = "float32"]
1768+
attrs : [bool use_mkldnn = false, bool use_onednn = false, str mkldnn_data_type = "float32"]
17691769

17701770
- op : fusion_repeated_fc_relu
17711771
inputs :

test/legacy_test/test_fusion_lstm_op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def setUp(self):
137137
'gate_activation': self.act_gate,
138138
'cell_activation': self.act_cell,
139139
'candidate_activation': self.act_cand,
140-
'use_mkldnn': self.use_onednn,
140+
'use_onednn': self.use_onednn,
141141
}
142142

143143
def test_check_output(self):

0 commit comments

Comments
 (0)