From c00af9443537b5e8de462f0ae6670c8e1ba12a70 Mon Sep 17 00:00:00 2001 From: ShenLiang Date: Thu, 3 Dec 2020 10:44:47 +0800 Subject: [PATCH] fix matmulv2 for windows (#29302) --- paddle/scripts/paddle_build.bat | 2 +- python/paddle/fluid/tests/unittests/test_matmul_v2_op.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index f61374ca48c..6eef64e8b85 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -409,7 +409,7 @@ test_parallel_executor_transformer^|test_parallel_executor_transformer_auto_grow test_fuse_bn_add_act_pass^|test_activation_mkldnn_op^|test_tsm^|test_gru_rnn_op^|test_rnn_op^|test_simple_rnn_op^|test_pass_builder^|test_lstm_cudnn_op^|test_inplace_addto_strategy^|^ test_ir_inplace_pass^|test_ir_memory_optimize_pass^|test_memory_reuse_exclude_feed_var^|test_mix_precision_all_reduce_fuse^|test_parallel_executor_pg^|test_print_op^|test_py_func_op^|^ test_weight_decay^|test_mobile_net^|test_graph^|test_imperative_out_scale^|test_imperative_qat^|test_imperative_qat_channelwise^|test_moving_average_abs_max_scale_op^|^ -test_quantization_pass^|test_quantization_scale_pass^|test_user_defined_quantization^|test_matmul_v2_op^|test_conv2d_int8_mkldnn_op^|^ +test_quantization_pass^|test_quantization_scale_pass^|test_user_defined_quantization^|test_conv2d_int8_mkldnn_op^|^ test_crypto^|test_callbacks^|test_program_prune_backward^|test_imperative_ocr_attention_model rem /*===============================================================*/ diff --git a/python/paddle/fluid/tests/unittests/test_matmul_v2_op.py b/python/paddle/fluid/tests/unittests/test_matmul_v2_op.py index a6667db6227..bcf5078fc93 100644 --- a/python/paddle/fluid/tests/unittests/test_matmul_v2_op.py +++ b/python/paddle/fluid/tests/unittests/test_matmul_v2_op.py @@ -244,8 +244,8 @@ class TestMatMuklOp14(TestMatMulV2Op): """ def config(self): - self.x_shape = (3, 1, 1, 100, 2) - self.y_shape = (1, 2, 2, 100, 2) + self.x_shape = (3, 1, 1, 10, 10) + self.y_shape = (1, 2, 2, 10, 10) self.trans_x = True self.trans_y = False -- GitLab