已合并
修复IMGWarpResize geir example #1330
修复IMGWarpResize geir example #1330
已合并
sgqt12创建于 17 天前
1 个文件变更+3-7
@@ -28,9 +28,7 @@
28#include "array_ops.h"28#include "array_ops.h"
29#include "ge_ir_build.h"29#include "ge_ir_build.h"
30 30 
31-#include "experiment_ops.h"31+#include "../../op_graph/img_warp_resize_proto.h"
32-#include "nn_other.h"
33-#include "../op_graph/img_warp_resize_proto.h"
34 32 
35#define FAILED -133#define FAILED -1
36#define SUCCESS 034#define SUCCESS 0
@@ -208,11 +206,9 @@ int main(int argc, char* argv[])
208 std::vector<Operator> inputs{};206 std::vector<Operator> inputs{};
209 std::vector<Operator> outputs{};207 std::vector<Operator> outputs{};
210 208 
211- if (argc < 2) {209+ if (argc > 1) {
212- printf("Usage: %s <param>\n", argv[0]);210+ std::cout << argv[1] << std::endl;
213- return FAILED;
214 }211 }
215- std::cout << argv[1] << std::endl;
216 char* endptr;212 char* endptr;
217 213 
218 DataType inDtype = DT_FLOAT;214 DataType inDtype = DT_FLOAT;