From 9db19ff837cd7c2f36f6b36af75ded577946d97b Mon Sep 17 00:00:00 2001 From: wangrt1 <79268158+wangrt1@users.noreply.github.com> Date: Thu, 24 Oct 2024 14:29:20 +0800 Subject: [PATCH] [Fix](mlu-ops):Fix mutual information forward case error (#1126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: wangrt1 <“wangrt11@163.com”> --- .../mutual_information_forward_general.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/mlu_op_gtest/api_gtest/src/gtest/mutual_information_forward/mutual_information_forward_general.cpp b/test/mlu_op_gtest/api_gtest/src/gtest/mutual_information_forward/mutual_information_forward_general.cpp index 0d833f4ca..bdccfe44f 100644 --- a/test/mlu_op_gtest/api_gtest/src/gtest/mutual_information_forward/mutual_information_forward_general.cpp +++ b/test/mlu_op_gtest/api_gtest/src/gtest/mutual_information_forward/mutual_information_forward_general.cpp @@ -262,22 +262,6 @@ INSTANTIATE_TEST_CASE_P( testing::Values(MLUOP_UNKNOWN_DEVICE), testing::Values(MLUOP_STATUS_SUCCESS))); -INSTANTIATE_TEST_CASE_P( - zero_element_2, mutual_information_forward_general, - testing::Combine( - testing::Values(MLUOpTensorParam{MLUOP_LAYOUT_ARRAY, MLUOP_DTYPE_FLOAT, - 3, std::vector({4, 0, 1})}), - testing::Values(MLUOpTensorParam{MLUOP_LAYOUT_ARRAY, MLUOP_DTYPE_FLOAT, - 3, std::vector({4, 1, 0})}), - testing::Values(MLUOpTensorParam{MLUOP_LAYOUT_ARRAY, MLUOP_DTYPE_INT64, - 2, std::vector({4, 4})}), - testing::Values(MLUOpTensorParam{MLUOP_LAYOUT_ARRAY, MLUOP_DTYPE_FLOAT, - 3, std::vector({4, 1, 1})}), - testing::Values(MLUOpTensorParam{MLUOP_LAYOUT_ARRAY, MLUOP_DTYPE_FLOAT, - 1, std::vector({4})}), - testing::Values(MLUOP_UNKNOWN_DEVICE), - testing::Values(MLUOP_STATUS_SUCCESS))); - INSTANTIATE_TEST_CASE_P( py_error_dim, mutual_information_forward_general, testing::Combine(