|
|
|
@@ -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]"}}; |
|
|
|
|