Skip to content

Commit 5b68773

Browse files
committed
Fix
1 parent 4ad8416 commit 5b68773

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/ir/inference/test_mkldnn_conv3d_op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def generate_weight(*args, **kwargs):
123123
"paddings": kwargs["paddings"],
124124
"strides": kwargs["strides"],
125125
"is_test": True,
126-
"use_mkldnn": True,
126+
"use_onednn": True,
127127
},
128128
)
129129

test/ir/inference/test_mkldnn_matmul_elementwise_add_activation_fuse_pass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def generate_input():
6060
inputs={'X': ['matmul_x'], 'Y': ['matmul_y']},
6161
outputs={'Out': ['matmul_output']},
6262
attrs={
63-
'use_mkldnn': True,
63+
'use_onednn': True,
6464
},
6565
)
6666

@@ -73,7 +73,7 @@ def generate_input():
7373
type='elementwise_add',
7474
inputs=inputs,
7575
outputs={'Out': ['elementwise_add_output']},
76-
attrs={'axis': axis, 'use_mkldnn': True},
76+
attrs={'axis': axis, 'use_onednn': True},
7777
)
7878

7979
if activation_type == "relu6":

test/ir/inference/test_onednn_fc_activation_fuse_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def generate_input(shape):
5656
},
5757
outputs={"Out": ["fc_output"]},
5858
attrs={
59-
"use_mkldnn": True,
59+
"use_onednn": True,
6060
"padding_weights": False,
6161
"in_num_col_dims": 1,
6262
},

0 commit comments

Comments
 (0)