From a3458a2fdfc05216f477851e612567367c4d63ce Mon Sep 17 00:00:00 2001 From: wanyiming Date: Wed, 21 Oct 2020 17:39:34 +0800 Subject: [PATCH] mod_matmul --- mindspore/nn/layer/math.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mindspore/nn/layer/math.py b/mindspore/nn/layer/math.py index d5f5d31b7c..0fe6b53681 100644 --- a/mindspore/nn/layer/math.py +++ b/mindspore/nn/layer/math.py @@ -354,7 +354,6 @@ def check_col_row_equal(x1_shape, x2_shape, transpose_x1, transpose_x2): + f'the row of matrix dimensions of x2, but got {x1_col} and {x2_row}.') -@constexpr def matmul_op_select(x1_shape, x2_shape, transpose_x1, transpose_x2): """select matmul op""" x1_dim, x2_dim = len(x1_shape), len(x2_shape)