From 2f2cc59370dea54fc2101072519ad7e9c9573051 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=84=B8=ED=9D=AC/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 25 Jun 2019 12:32:50 +0900 Subject: [PATCH] [moco/tf] extract moco-tf (#3963) * [moco/tf] extract moco-tf This will extract nested moco tf frontend to moco-tf Signed-off-by: SaeHie Park * revisit readme * fix requires.cmake * apply master changes --- contrib/moco-tf/.FORMATCHECKED | 0 contrib/{moco/lib/frontend/tf => moco-tf}/CMakeLists.txt | 0 contrib/moco-tf/README.md | 3 +++ contrib/{moco/lib/frontend/tf => moco-tf}/doc/Conversion.md | 0 .../{moco/lib/frontend/tf => moco-tf}/include/moco/tf/Frontend.h | 0 contrib/{moco/lib/frontend/tf => moco-tf}/include/moco/tf/Names.h | 0 .../{moco/lib/frontend/tf => moco-tf}/include/moco/tf/NodeShape.h | 0 contrib/{moco/lib/frontend/tf => moco-tf}/proto/CMakeLists.txt | 0 contrib/moco-tf/requires.cmake | 6 ++++++ .../{moco/lib/frontend/tf => moco-tf}/src/Annotations/ConcatData.h | 0 .../{moco/lib/frontend/tf => moco-tf}/src/Annotations/PaddingData.h | 0 .../frontend/tf => moco-tf}/src/Annotations/ShapeInferenceData.cpp | 0 .../frontend/tf => moco-tf}/src/Annotations/ShapeInferenceData.h | 0 .../tf => moco-tf}/src/Annotations/ShapeInferenceData.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/CompilerArgs.h | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/CompilerArgs.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Convert.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Convert.h | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Convert.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Frontend.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Frontend.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/GraphBuilder.h | 0 .../{moco/lib/frontend/tf => moco-tf}/src/GraphBuilderContext.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/GraphBuilderContext.h | 0 .../lib/frontend/tf => moco-tf}/src/GraphBuilderContext.test.cpp | 0 .../{moco/lib/frontend/tf => moco-tf}/src/GraphBuilderRegistry.h | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Knob.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Knob.h | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Knob.lst | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/NodeShape.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/NodeShape.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/AvgPool2D.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/AvgPool2D.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/BiasAdd.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/BiasAdd.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Concat.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Concat.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Const.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Const.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Conv2D.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Conv2D.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Identity.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/MaxPool2D.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/MaxPool2D.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Placeholder.cpp | 0 .../{moco/lib/frontend/tf => moco-tf}/src/Op/Placeholder.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Relu.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Relu.test.cpp | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/TestHelper.h | 0 contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms.h | 0 .../frontend/tf => moco-tf}/src/Transforms/ClearAnnotTransform.cpp | 0 .../frontend/tf => moco-tf}/src/Transforms/ClearAnnotTransform.h | 0 .../tf => moco-tf}/src/Transforms/ClearAnnotTransform.test.cpp | 0 .../frontend/tf => moco-tf}/src/Transforms/FixPaddingTransform.cpp | 0 .../frontend/tf => moco-tf}/src/Transforms/FixPaddingTransform.h | 0 .../tf => moco-tf}/src/Transforms/FixPaddingTransform.test.cpp | 0 .../frontend/tf => moco-tf}/src/Transforms/FixShapeTransform.cpp | 0 .../lib/frontend/tf => moco-tf}/src/Transforms/FixShapeTransform.h | 0 .../tf => moco-tf}/src/Transforms/FixShapeTransform.test.cpp | 0 .../{moco/lib/frontend/tf => moco-tf}/src/Transforms/MocoNodes.lst | 0 .../{moco/lib/frontend/tf => moco-tf}/src/Transforms/Transform.cpp | 0 .../{moco/lib/frontend/tf => moco-tf}/src/Transforms/Transform.h | 0 .../lib/frontend/tf => moco-tf}/src/Transforms/Transform.test.cpp | 0 contrib/moco/requires.cmake | 1 + 64 files changed, 10 insertions(+) create mode 100644 contrib/moco-tf/.FORMATCHECKED rename contrib/{moco/lib/frontend/tf => moco-tf}/CMakeLists.txt (100%) create mode 100644 contrib/moco-tf/README.md rename contrib/{moco/lib/frontend/tf => moco-tf}/doc/Conversion.md (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/include/moco/tf/Frontend.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/include/moco/tf/Names.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/include/moco/tf/NodeShape.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/proto/CMakeLists.txt (100%) create mode 100644 contrib/moco-tf/requires.cmake rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Annotations/ConcatData.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Annotations/PaddingData.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Annotations/ShapeInferenceData.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Annotations/ShapeInferenceData.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Annotations/ShapeInferenceData.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/CompilerArgs.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/CompilerArgs.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Convert.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Convert.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Convert.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Frontend.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Frontend.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/GraphBuilder.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/GraphBuilderContext.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/GraphBuilderContext.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/GraphBuilderContext.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/GraphBuilderRegistry.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Knob.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Knob.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Knob.lst (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/NodeShape.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/NodeShape.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/AvgPool2D.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/AvgPool2D.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/BiasAdd.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/BiasAdd.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Concat.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Concat.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Const.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Const.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Conv2D.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Conv2D.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Identity.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/MaxPool2D.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/MaxPool2D.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Placeholder.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Placeholder.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Relu.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Op/Relu.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/TestHelper.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/ClearAnnotTransform.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/ClearAnnotTransform.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/ClearAnnotTransform.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/FixPaddingTransform.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/FixPaddingTransform.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/FixPaddingTransform.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/FixShapeTransform.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/FixShapeTransform.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/FixShapeTransform.test.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/MocoNodes.lst (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/Transform.cpp (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/Transform.h (100%) rename contrib/{moco/lib/frontend/tf => moco-tf}/src/Transforms/Transform.test.cpp (100%) diff --git a/contrib/moco-tf/.FORMATCHECKED b/contrib/moco-tf/.FORMATCHECKED new file mode 100644 index 0000000..e69de29 diff --git a/contrib/moco/lib/frontend/tf/CMakeLists.txt b/contrib/moco-tf/CMakeLists.txt similarity index 100% rename from contrib/moco/lib/frontend/tf/CMakeLists.txt rename to contrib/moco-tf/CMakeLists.txt diff --git a/contrib/moco-tf/README.md b/contrib/moco-tf/README.md new file mode 100644 index 0000000..a3d30f2 --- /dev/null +++ b/contrib/moco-tf/README.md @@ -0,0 +1,3 @@ +# moco-tf + +_moco-tf_ translates a TensorFlow model into _loco_ diff --git a/contrib/moco/lib/frontend/tf/doc/Conversion.md b/contrib/moco-tf/doc/Conversion.md similarity index 100% rename from contrib/moco/lib/frontend/tf/doc/Conversion.md rename to contrib/moco-tf/doc/Conversion.md diff --git a/contrib/moco/lib/frontend/tf/include/moco/tf/Frontend.h b/contrib/moco-tf/include/moco/tf/Frontend.h similarity index 100% rename from contrib/moco/lib/frontend/tf/include/moco/tf/Frontend.h rename to contrib/moco-tf/include/moco/tf/Frontend.h diff --git a/contrib/moco/lib/frontend/tf/include/moco/tf/Names.h b/contrib/moco-tf/include/moco/tf/Names.h similarity index 100% rename from contrib/moco/lib/frontend/tf/include/moco/tf/Names.h rename to contrib/moco-tf/include/moco/tf/Names.h diff --git a/contrib/moco/lib/frontend/tf/include/moco/tf/NodeShape.h b/contrib/moco-tf/include/moco/tf/NodeShape.h similarity index 100% rename from contrib/moco/lib/frontend/tf/include/moco/tf/NodeShape.h rename to contrib/moco-tf/include/moco/tf/NodeShape.h diff --git a/contrib/moco/lib/frontend/tf/proto/CMakeLists.txt b/contrib/moco-tf/proto/CMakeLists.txt similarity index 100% rename from contrib/moco/lib/frontend/tf/proto/CMakeLists.txt rename to contrib/moco-tf/proto/CMakeLists.txt diff --git a/contrib/moco-tf/requires.cmake b/contrib/moco-tf/requires.cmake new file mode 100644 index 0000000..97fec45 --- /dev/null +++ b/contrib/moco-tf/requires.cmake @@ -0,0 +1,6 @@ +require("loco") +require("locop") +require("cwrap") +require("stdex") +require("moco-log") +require("pepper-strcast") diff --git a/contrib/moco/lib/frontend/tf/src/Annotations/ConcatData.h b/contrib/moco-tf/src/Annotations/ConcatData.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Annotations/ConcatData.h rename to contrib/moco-tf/src/Annotations/ConcatData.h diff --git a/contrib/moco/lib/frontend/tf/src/Annotations/PaddingData.h b/contrib/moco-tf/src/Annotations/PaddingData.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Annotations/PaddingData.h rename to contrib/moco-tf/src/Annotations/PaddingData.h diff --git a/contrib/moco/lib/frontend/tf/src/Annotations/ShapeInferenceData.cpp b/contrib/moco-tf/src/Annotations/ShapeInferenceData.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Annotations/ShapeInferenceData.cpp rename to contrib/moco-tf/src/Annotations/ShapeInferenceData.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Annotations/ShapeInferenceData.h b/contrib/moco-tf/src/Annotations/ShapeInferenceData.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Annotations/ShapeInferenceData.h rename to contrib/moco-tf/src/Annotations/ShapeInferenceData.h diff --git a/contrib/moco/lib/frontend/tf/src/Annotations/ShapeInferenceData.test.cpp b/contrib/moco-tf/src/Annotations/ShapeInferenceData.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Annotations/ShapeInferenceData.test.cpp rename to contrib/moco-tf/src/Annotations/ShapeInferenceData.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/CompilerArgs.h b/contrib/moco-tf/src/CompilerArgs.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/CompilerArgs.h rename to contrib/moco-tf/src/CompilerArgs.h diff --git a/contrib/moco/lib/frontend/tf/src/CompilerArgs.test.cpp b/contrib/moco-tf/src/CompilerArgs.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/CompilerArgs.test.cpp rename to contrib/moco-tf/src/CompilerArgs.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Convert.cpp b/contrib/moco-tf/src/Convert.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Convert.cpp rename to contrib/moco-tf/src/Convert.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Convert.h b/contrib/moco-tf/src/Convert.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Convert.h rename to contrib/moco-tf/src/Convert.h diff --git a/contrib/moco/lib/frontend/tf/src/Convert.test.cpp b/contrib/moco-tf/src/Convert.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Convert.test.cpp rename to contrib/moco-tf/src/Convert.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Frontend.cpp b/contrib/moco-tf/src/Frontend.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Frontend.cpp rename to contrib/moco-tf/src/Frontend.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Frontend.test.cpp b/contrib/moco-tf/src/Frontend.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Frontend.test.cpp rename to contrib/moco-tf/src/Frontend.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/GraphBuilder.h b/contrib/moco-tf/src/GraphBuilder.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/GraphBuilder.h rename to contrib/moco-tf/src/GraphBuilder.h diff --git a/contrib/moco/lib/frontend/tf/src/GraphBuilderContext.cpp b/contrib/moco-tf/src/GraphBuilderContext.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/GraphBuilderContext.cpp rename to contrib/moco-tf/src/GraphBuilderContext.cpp diff --git a/contrib/moco/lib/frontend/tf/src/GraphBuilderContext.h b/contrib/moco-tf/src/GraphBuilderContext.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/GraphBuilderContext.h rename to contrib/moco-tf/src/GraphBuilderContext.h diff --git a/contrib/moco/lib/frontend/tf/src/GraphBuilderContext.test.cpp b/contrib/moco-tf/src/GraphBuilderContext.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/GraphBuilderContext.test.cpp rename to contrib/moco-tf/src/GraphBuilderContext.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/GraphBuilderRegistry.h b/contrib/moco-tf/src/GraphBuilderRegistry.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/GraphBuilderRegistry.h rename to contrib/moco-tf/src/GraphBuilderRegistry.h diff --git a/contrib/moco/lib/frontend/tf/src/Knob.cpp b/contrib/moco-tf/src/Knob.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Knob.cpp rename to contrib/moco-tf/src/Knob.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Knob.h b/contrib/moco-tf/src/Knob.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Knob.h rename to contrib/moco-tf/src/Knob.h diff --git a/contrib/moco/lib/frontend/tf/src/Knob.lst b/contrib/moco-tf/src/Knob.lst similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Knob.lst rename to contrib/moco-tf/src/Knob.lst diff --git a/contrib/moco/lib/frontend/tf/src/NodeShape.cpp b/contrib/moco-tf/src/NodeShape.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/NodeShape.cpp rename to contrib/moco-tf/src/NodeShape.cpp diff --git a/contrib/moco/lib/frontend/tf/src/NodeShape.test.cpp b/contrib/moco-tf/src/NodeShape.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/NodeShape.test.cpp rename to contrib/moco-tf/src/NodeShape.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/AvgPool2D.cpp b/contrib/moco-tf/src/Op/AvgPool2D.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/AvgPool2D.cpp rename to contrib/moco-tf/src/Op/AvgPool2D.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/AvgPool2D.test.cpp b/contrib/moco-tf/src/Op/AvgPool2D.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/AvgPool2D.test.cpp rename to contrib/moco-tf/src/Op/AvgPool2D.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/BiasAdd.cpp b/contrib/moco-tf/src/Op/BiasAdd.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/BiasAdd.cpp rename to contrib/moco-tf/src/Op/BiasAdd.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/BiasAdd.test.cpp b/contrib/moco-tf/src/Op/BiasAdd.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/BiasAdd.test.cpp rename to contrib/moco-tf/src/Op/BiasAdd.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Concat.cpp b/contrib/moco-tf/src/Op/Concat.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Concat.cpp rename to contrib/moco-tf/src/Op/Concat.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Concat.test.cpp b/contrib/moco-tf/src/Op/Concat.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Concat.test.cpp rename to contrib/moco-tf/src/Op/Concat.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Const.cpp b/contrib/moco-tf/src/Op/Const.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Const.cpp rename to contrib/moco-tf/src/Op/Const.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Const.test.cpp b/contrib/moco-tf/src/Op/Const.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Const.test.cpp rename to contrib/moco-tf/src/Op/Const.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Conv2D.cpp b/contrib/moco-tf/src/Op/Conv2D.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Conv2D.cpp rename to contrib/moco-tf/src/Op/Conv2D.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Conv2D.test.cpp b/contrib/moco-tf/src/Op/Conv2D.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Conv2D.test.cpp rename to contrib/moco-tf/src/Op/Conv2D.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Identity.cpp b/contrib/moco-tf/src/Op/Identity.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Identity.cpp rename to contrib/moco-tf/src/Op/Identity.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/MaxPool2D.cpp b/contrib/moco-tf/src/Op/MaxPool2D.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/MaxPool2D.cpp rename to contrib/moco-tf/src/Op/MaxPool2D.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/MaxPool2D.test.cpp b/contrib/moco-tf/src/Op/MaxPool2D.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/MaxPool2D.test.cpp rename to contrib/moco-tf/src/Op/MaxPool2D.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Placeholder.cpp b/contrib/moco-tf/src/Op/Placeholder.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Placeholder.cpp rename to contrib/moco-tf/src/Op/Placeholder.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Placeholder.test.cpp b/contrib/moco-tf/src/Op/Placeholder.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Placeholder.test.cpp rename to contrib/moco-tf/src/Op/Placeholder.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Relu.cpp b/contrib/moco-tf/src/Op/Relu.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Relu.cpp rename to contrib/moco-tf/src/Op/Relu.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Op/Relu.test.cpp b/contrib/moco-tf/src/Op/Relu.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Op/Relu.test.cpp rename to contrib/moco-tf/src/Op/Relu.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/TestHelper.h b/contrib/moco-tf/src/TestHelper.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/TestHelper.h rename to contrib/moco-tf/src/TestHelper.h diff --git a/contrib/moco/lib/frontend/tf/src/Transforms.h b/contrib/moco-tf/src/Transforms.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms.h rename to contrib/moco-tf/src/Transforms.h diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/ClearAnnotTransform.cpp b/contrib/moco-tf/src/Transforms/ClearAnnotTransform.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/ClearAnnotTransform.cpp rename to contrib/moco-tf/src/Transforms/ClearAnnotTransform.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/ClearAnnotTransform.h b/contrib/moco-tf/src/Transforms/ClearAnnotTransform.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/ClearAnnotTransform.h rename to contrib/moco-tf/src/Transforms/ClearAnnotTransform.h diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/ClearAnnotTransform.test.cpp b/contrib/moco-tf/src/Transforms/ClearAnnotTransform.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/ClearAnnotTransform.test.cpp rename to contrib/moco-tf/src/Transforms/ClearAnnotTransform.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/FixPaddingTransform.cpp b/contrib/moco-tf/src/Transforms/FixPaddingTransform.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/FixPaddingTransform.cpp rename to contrib/moco-tf/src/Transforms/FixPaddingTransform.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/FixPaddingTransform.h b/contrib/moco-tf/src/Transforms/FixPaddingTransform.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/FixPaddingTransform.h rename to contrib/moco-tf/src/Transforms/FixPaddingTransform.h diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/FixPaddingTransform.test.cpp b/contrib/moco-tf/src/Transforms/FixPaddingTransform.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/FixPaddingTransform.test.cpp rename to contrib/moco-tf/src/Transforms/FixPaddingTransform.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/FixShapeTransform.cpp b/contrib/moco-tf/src/Transforms/FixShapeTransform.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/FixShapeTransform.cpp rename to contrib/moco-tf/src/Transforms/FixShapeTransform.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/FixShapeTransform.h b/contrib/moco-tf/src/Transforms/FixShapeTransform.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/FixShapeTransform.h rename to contrib/moco-tf/src/Transforms/FixShapeTransform.h diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/FixShapeTransform.test.cpp b/contrib/moco-tf/src/Transforms/FixShapeTransform.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/FixShapeTransform.test.cpp rename to contrib/moco-tf/src/Transforms/FixShapeTransform.test.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/MocoNodes.lst b/contrib/moco-tf/src/Transforms/MocoNodes.lst similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/MocoNodes.lst rename to contrib/moco-tf/src/Transforms/MocoNodes.lst diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/Transform.cpp b/contrib/moco-tf/src/Transforms/Transform.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/Transform.cpp rename to contrib/moco-tf/src/Transforms/Transform.cpp diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/Transform.h b/contrib/moco-tf/src/Transforms/Transform.h similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/Transform.h rename to contrib/moco-tf/src/Transforms/Transform.h diff --git a/contrib/moco/lib/frontend/tf/src/Transforms/Transform.test.cpp b/contrib/moco-tf/src/Transforms/Transform.test.cpp similarity index 100% rename from contrib/moco/lib/frontend/tf/src/Transforms/Transform.test.cpp rename to contrib/moco-tf/src/Transforms/Transform.test.cpp diff --git a/contrib/moco/requires.cmake b/contrib/moco/requires.cmake index 5152179..da02cb4 100644 --- a/contrib/moco/requires.cmake +++ b/contrib/moco/requires.cmake @@ -6,3 +6,4 @@ require("moco-log") # NOTE This is a virtual dependency for backward compatibility. # TODO Remove this virtual dependency require("moco-onnx") +require("moco-tf") -- 2.7.4