Browse Source

modified: tests/ut/ge/graph/preprocess/graph_preprocess_unittest.cc

pull/931/head
zhaoxinxin 5 years ago
parent
commit
e90ddfe14e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ut/ge/graph/preprocess/graph_preprocess_unittest.cc

+ 1
- 1
tests/ut/ge/graph/preprocess/graph_preprocess_unittest.cc View File

@@ -43,7 +43,7 @@ class UtestGraphPreproces : public testing::Test {

ComputeGraphPtr BuildGraph1(){
auto builder = ut::GraphBuilder("g1");
auto data1 = builder.AddNode("data1",DATA,0,1);
auto data1 = builder.AddNode("data1",DATA,1,1);
auto data_opdesc = data1->GetOpDesc();
AttrUtils::SetInt(data_opdesc, ATTR_NAME_INDEX, 0);
data1->UpdateOpDesc(data_opdesc);


Loading…
Cancel
Save