Browse Source

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

pull/931/head
zhaoxinxin 5 years ago
parent
commit
1c5343501b
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

@@ -58,7 +58,7 @@ TEST_F(UtestGraphPreproces, test_dynamic_input_shape_parse) {
tensor1.SetFormat(ge::FORMAT_NCHW);
tensor1.SetShape(ge::GeShape({3, 12, 5, 5}));
tensor1.SetDataType(ge::DT_FLOAT);
GeTensor input1 = new GeTensor(tensor1);
GeTensor input1(tensor1);
std::vector<GeTensor> user_input = {input1};
std::map<string,string> graph_option = {{"ge.exec.dynamicGraphExecuteMode","dynamic_execute"},
{"ge.exec.dataInputsShapeRange","[3,1~20,2~10,5]"}};


Loading…
Cancel
Save