From b0cbef78fcd6a87c5bd8a6652a5d6eac329a3bbf Mon Sep 17 00:00:00 2001 From: zhangxiaokun Date: Thu, 7 Jan 2021 08:39:14 +0800 Subject: [PATCH] Eliminate variable_op_list_ --- tests/ut/ge/graph/load/kernel_ex_task_info_unittest.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/ut/ge/graph/load/kernel_ex_task_info_unittest.cc b/tests/ut/ge/graph/load/kernel_ex_task_info_unittest.cc index ea9ef3cb..443d2975 100644 --- a/tests/ut/ge/graph/load/kernel_ex_task_info_unittest.cc +++ b/tests/ut/ge/graph/load/kernel_ex_task_info_unittest.cc @@ -64,10 +64,6 @@ TEST_F(UtestKernelExTaskInfo, success_kernel_ex_task_init) { string value1(arg_size, 'a'); kernel_ex_def->set_args_size(arg_size); kernel_ex_def->set_args(value1); - OpDescPtr v_op_desc = CreateOpDesc("ge_global_step", "Variable"); - model.variable_op_list_.push_back(v_op_desc); - model.op_list_[0]->SetWorkspace({100331008}); // offset - model.op_list_[0]->SetWorkspaceBytes({150}); // length EXPECT_EQ(kernel_ex_task_info.Init(task_def, &model), FAILED);