From 0d3849db73b6a8fd85603f052d5fa1eba615f76c Mon Sep 17 00:00:00 2001 From: wjm Date: Sun, 28 Feb 2021 11:08:12 +0800 Subject: [PATCH] fix --- tests/ut/ge/hybrid/ge_hybrid_unittest.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/ut/ge/hybrid/ge_hybrid_unittest.cc b/tests/ut/ge/hybrid/ge_hybrid_unittest.cc index c8f32c17..3b5d19e6 100644 --- a/tests/ut/ge/hybrid/ge_hybrid_unittest.cc +++ b/tests/ut/ge/hybrid/ge_hybrid_unittest.cc @@ -248,15 +248,11 @@ TEST_F(UtestGeHybrid, init_weight_success) { TEST_F(UtestGeHybrid, hybrid_model_executor) { ComputeGraphPtr compute_graph = MakeShared("abc"); GeRootModelPtr root_model = MakeShared(compute_graph); - //auto graph_item = std::unique_ptr(new(std::nothrow)GraphItem()); HybridModel model(root_model); - //model.root_graph_item_ = graph_item; HybridModel *model_ptr = &model; uint32_t device_id = 0; rtStream_t stream; HybridModelExecutor executor(model_ptr, device_id, stream); executor.Init(); - HybridModelExecutor::ExecuteArgs args; - executor.Execute(args); }