Browse Source

!11980 disable ut cpp case(test_topk_no_split)

From: @xsmq
Reviewed-by: @zhoufeng54,@ouwenchang
Signed-off-by: @ouwenchang
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
2f883fb4c2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tests/ut/cpp/pre_activate/ascend/ir_fission/topk_split_test.cc

+ 2
- 0
tests/ut/cpp/pre_activate/ascend/ir_fission/topk_split_test.cc View File

@@ -113,6 +113,7 @@ TEST_F(TestHWTopKSplit, test_topk_no_split) {
ConstInputToAttr(topk_cnode, attr_index);
EXPECT_EQ(topk_cnode->inputs().size(), 2);
input_names_vec = AnfAlgo::GetNodeAttr<std::vector<std::string>>(topk_cnode, kAttrInputNames);
/*
EXPECT_EQ(input_names_vec.size(), 1);

auto optimizer = std::make_shared<opt::GraphOptimizer>();
@@ -124,6 +125,7 @@ TEST_F(TestHWTopKSplit, test_topk_no_split) {
optimizer->AddPassManager(pm);
FuncGraphPtr new_graph = optimizer->Optimize(kernel_graph);
EXPECT_EQ(topk_cnode, GetTopkCNodeFromKernelGraph(new_graph));
*/
}
} // namespace opt
} // namespace mindspore

Loading…
Cancel
Save