Rename `src/graph/` and `include/graph/` to `src/ir/` and `include/ir/`, respectively
Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
#include <memory>
#include <functional>
-#include "graph/LowerInfoMap.h"
+#include "ir/LowerInfoMap.h"
#include "ITensorBuilder.h"
#include "model/OperationVisitor.h"
#include "model/Subgraph.h"
#define __NEURUN_BACKEND_ITENSOR_REGISTER_H__
#include "compiler/SubTensorInfo.h"
-#include "graph/LowerInfoMap.h"
-#include "graph/operand/ParentInfo.h"
+#include "ir/LowerInfoMap.h"
+#include "ir/operand/ParentInfo.h"
#include "ITensorBuilder.h"
#include "model/Layout.h"
#include "model/OperandIndexSequence.h"
#ifndef __NEURUN_COMPILER_COMPILE_H_
#define __NEURUN_COMPILER_COMPILE_H_
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "exec/IExecutor.h"
namespace neurun
#ifndef __NEURUN_EXEC_I_EXECUTOR_H_
#define __NEURUN_EXEC_I_EXECUTOR_H_
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "IFunction.h"
#include "IODescription.h"
#include "model/OperationIndexMap.h"
#include "model/Operands.h"
#include "model/Operations.h"
-#include "graph/LowerInfoMap.h"
+#include "ir/LowerInfoMap.h"
#include "model/Subgraph.h"
#include "model/Subgraphs.h"
#include <memory>
#include <unordered_map>
-#include "graph/operand/LowerInfo.h"
-#include "graph/operation/LowerInfo.h"
+#include "ir/operand/LowerInfo.h"
+#include "ir/operation/LowerInfo.h"
#include "model/OperandIndexMap.h"
#include "model/Index.h"
#include <functional>
#include <stdint.h>
-#include "graph/operand/PermuteFactor.h"
+#include "ir/operand/PermuteFactor.h"
#include "util/Set.h"
namespace neurun
#include <string>
-#include <graph/operand/PermuteFactor.h>
+#include <ir/operand/PermuteFactor.h>
namespace neurun
{
#include "Data.h"
#include "DataType.h"
#include "OperandInfo.h"
-#include "graph/operand/ParentInfo.h" // TODO Remove this dependency
+#include "ir/operand/ParentInfo.h" // TODO Remove this dependency
#include "model/OperationIndexList.h"
namespace neurun
#include "compiler/ManualScheduler.h"
#include "compiler/HEScheduler.h"
#include "backend/ExecTime.h"
-#include "graph/operation/LowerInfo.h"
+#include "ir/operation/LowerInfo.h"
#include "dumper/dot/DotDumper.h"
#include "compiler/Linear.h"
#include "exec/interp/ExecManager.h"
#include "compiler/BackendResolver.h"
#include "backend/ExecTime.h"
#include "compiler/Linear.h"
-#include "graph/dumper/Dumper.h"
+#include "ir/dumper/Dumper.h"
#include "OperationValidator.h"
#include "SubTensorAnalyzer.h"
#include "backend/IConstantInitializer.h"
#include <unordered_map>
#include "exec/IExecutor.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
namespace neurun
{
#include "model/Operand.h"
#include "compiler/HEScheduler.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "util/ConfigSource.h"
#include "compiler/IExecutionBuilder.h"
#include "compiler/BackendResolver.h"
#define __NEURUN_COMPILER_H_E_SCHEDULER_H_
#include "compiler/IScheduler.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "backend/ExecTime.h"
#include "backend/Backend.h"
#include "cpp14/memory.h"
#define __NEURUN_CORE_COMPILER_I_SCHEDULER_H__
#include "BackendResolver.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
namespace neurun
{
#include "model/Subgraphs.h"
#include "backend/ITensorBuilder.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "compiler/BackendResolver.h"
namespace neurun
#include <typeinfo>
#include "model/Operands.h"
-#include "graph/operation/LowerInfo.h"
+#include "ir/operation/LowerInfo.h"
#include "util/logging.h"
#include "util/Utils.h"
#include "ParamChecker.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
namespace neurun
{
#define __NEURUN_COMPILER_SUBTENSOR_ANALYZER_H__
#include "model/OperationVisitor.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
namespace neurun
{
* limitations under the License.
*/
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#ifndef __NEURUN_DUMPER_DOT_DOT_DUMPER_H__
#define __NEURUN_DUMPER_DOT_DOT_DUMPER_H__
#include <sstream>
#include "OperandNode.h"
-#include "graph/Graph.h"
-#include "graph/operand/LowerInfo.h"
+#include "ir/Graph.h"
+#include "ir/operand/LowerInfo.h"
namespace neurun
{
#include <sstream>
#include "OperationNode.h"
-#include "graph/Graph.h"
-#include "graph/operation/LowerInfo.h"
+#include "ir/Graph.h"
+#include "ir/operation/LowerInfo.h"
#include "backend/IConfig.h"
#include "backend/Backend.h"
#include "exec/ExecutionObservers.h"
#include "Sink.h"
#include "exec/IExecutor.h"
-#include "graph/Graph.h"
-#include "graph/LowerInfoMap.h"
+#include "ir/Graph.h"
+#include "ir/LowerInfoMap.h"
#include "backend/IConfig.h"
#include "backend/Backend.h"
#include "compiler/OperandContext.h"
#include <memory>
#include "exec/IFunction.h"
-#include "graph/BackendSet.h"
+#include "ir/BackendSet.h"
#include "ThreadPool.h"
namespace neurun
#include <unordered_set>
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "Tensor.h"
namespace neurun
#ifndef __NEURUN_EXEC_INTERP_EXEC_MANAGER_H_
#define __NEURUN_EXEC_INTERP_EXEC_MANAGER_H_
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "exec/IExecutor.h"
#include "Tensor.h"
* limitations under the License.
*/
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include <algorithm>
#include <bitset>
#include "util/logging.h"
#include "verifier/Verifier.h"
#include "cpp14/memory.h"
-#include "graph/operation/LowerInfo.h"
-#include "graph/operand/LowerInfo.h"
-#include "graph/operand/PermuteFactor.h"
+#include "ir/operation/LowerInfo.h"
+#include "ir/operand/LowerInfo.h"
+#include "ir/operand/PermuteFactor.h"
#include "operand/Shape4DConvert.h"
#include "compiler/BackendResolver.h"
#include "backend/IConfig.h"
* limitations under the License.
*/
-#include "graph/operand/LowerInfo.h"
+#include "ir/operand/LowerInfo.h"
namespace neurun
{
#ifndef __NEURUN_GRAPH_OPERAND_SHAPE4D_CONVERT_H__
#define __NEURUN_GRAPH_OPERAND_SHAPE4D_CONVERT_H__
-#include "graph/operand/LowerInfo.h"
+#include "ir/operand/LowerInfo.h"
namespace neurun
{
* limitations under the License.
*/
-#include "graph/operation/LowerInfo.h"
+#include "ir/operation/LowerInfo.h"
namespace neurun
{
#include "ConstantInsertionPass.h"
#include "backend/Backend.h"
-#include <graph/Graph.h>
-#include "graph/operand/Shape4DConvert.h"
+#include <ir/Graph.h>
+#include "ir/operand/Shape4DConvert.h"
#include <util/Utils.h>
namespace neurun
#ifndef __NEURUN_GRAPH_PASS_CONSTANT_INSERTION_PASS_H__
#define __NEURUN_GRAPH_PASS_CONSTANT_INSERTION_PASS_H__
-#include <graph/operand/PermuteFactor.h>
+#include <ir/operand/PermuteFactor.h>
#include <model/Index.h>
#include "OperationPass.h"
#include <unordered_map>
#include "OperandPass.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
namespace neurun
{
#include "model/Index.h"
#include "model/Operation.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
namespace neurun
{
#include "PermutationEliminationPass.h"
#include "model/Operand.h"
-#include "graph/operand/LowerInfo.h"
-#include "graph/Graph.h"
+#include "ir/operand/LowerInfo.h"
+#include "ir/Graph.h"
#include "backend/IConfig.h"
#include "util/logging.h"
#include "compiler/BackendResolver.h"
#include <unordered_map>
#include "model/Operand.h"
-#include "graph/operation/LowerInfo.h"
-#include "graph/Graph.h"
+#include "ir/operation/LowerInfo.h"
+#include "ir/Graph.h"
#include "backend/IConfig.h"
#include "util/logging.h"
#include "cpp14/memory.h"
#include "model/operation/Permute.h"
-#include "graph/operand/Shape4DConvert.h"
+#include "ir/operand/Shape4DConvert.h"
#include "compiler/BackendResolver.h"
namespace neurun
#include "OperandPass.h"
#include "model/Operand.h" //for model::OperationIndex
#include "backend/BackendManager.h"
-#include "graph/operand/PermuteFactor.h"
+#include "ir/operand/PermuteFactor.h"
namespace neurun
{
#include "backend/Backend.h"
#include "backend/IConfig.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
namespace neurun
{
#include "Verifier.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "model/OperationIndexMap.h"
#include "util/logging.h"
#ifndef __BASE_LOADER_BASE_LOADER_H__
#define __BASE_LOADER_BASE_LOADER_H__
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "model/Operations.Include.h"
#include <map>
#ifndef __CIRCLE_CIRCLE_LOADER_H__
#define __CIRCLE_CIRCLE_LOADER_H__
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include <memory>
#define __COMPILATION_H__
#include "compiler/Compiler.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "exec/IExecutor.h"
struct ANeuralNetworksCompilation
#include <NeuralNetworks.h>
#include <NeuralNetworksEx.h>
-#include "graph/Graph.h"
+#include "ir/Graph.h"
struct ANeuralNetworksModel
{
#ifndef __TFLITE_TFLITE_LOADER_H__
#define __TFLITE_TFLITE_LOADER_H__
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include <memory>
#include <gtest/gtest.h>
#include <thread>
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "compiler/Compiler.h"
#include "exec/Execution.h"
#include "model/operation/Add.h"
#include <cpp14/memory.h>
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "exec/interp/ExecManager.h"
#include "exec/Execution.h"
#include "model/operation/Add.h"
#include <gtest/gtest.h>
-#include "graph/Graph.h"
+#include "ir/Graph.h"
TEST(Graph, inputs_and_outputs)
{
#include <gtest/gtest.h>
-#include "graph/Graph.h"
-#include "graph/verifier/Verifier.h"
+#include "ir/Graph.h"
+#include "ir/verifier/Verifier.h"
#include "cpp14/memory.h"
#include "../MockNode.h"
#include <gtest/gtest.h>
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "model/Index.h"
#include "model/OperandIndexSequence.h"
#include "model/operation/Conv2D.h"
#include <gtest/gtest.h>
#include "model/Operation.h"
-#include "graph/Graph.h"
-#include "graph/verifier/Verifier.h"
+#include "ir/Graph.h"
+#include "ir/verifier/Verifier.h"
#include "cpp14/memory.h"
#include "model/Operand.h"
#include "../MockNode.h"
#include "compiler/Compiler.h"
#include "exec/Execution.h"
-#include "graph/Graph.h"
+#include "ir/Graph.h"
#include "tflite_loader.h"