[neurun] Rename classes in model::operation (#5018)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 24 Apr 2019 08:08:11 +0000 (17:08 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 24 Apr 2019 08:08:11 +0000 (17:08 +0900)
commit715b3b12ef0dd37b3f8cd43130a65a7dfeb1a606
treed56e59f855a2e192e5cee8041138b4e7d760f696
parent1ac946dd492708e45b1fa3be6138987273e21566
[neurun] Rename classes in model::operation (#5018)

* [neurun] Rename classes in model::operation

Rename the rest of classes in `model::operation` other than Operation
derivatives and subgraph modules. Many changes are included in this
commit to avoid conflicts many times.

- `operation::NodeVisitor` -> `OpVisitor`
- `operation::OperandConstraint` -> `OperandConstraint`
- `operation::IndexList` -> `OperationIndexList`
- `operation::Set` -> `OperationManager`
- `operation/Op.lst` -> `Op.lst`
- `operation/Node.Include.h` -> `Operation.Include.h`

Part of #4985

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
* Fix nits

* Rename OpXXX to OperationXXX

- OpVisitor.h => OperationVisitor.h
- Op.lst => Operations.lst

* Rebase fix

* Rename OperationManager to Operations

* Fix ifdef guards - OperandConstraint and Operation
132 files changed:
runtimes/neurun/core/include/backend/IStageGenerator.h
runtimes/neurun/core/include/graph/Graph.h
runtimes/neurun/core/include/model/Model.h
runtimes/neurun/core/include/model/OperandConstraint.h [moved from runtimes/neurun/core/include/model/operation/OperandConstraint.h with 90% similarity]
runtimes/neurun/core/include/model/Operation.h
runtimes/neurun/core/include/model/OperationIndexList.h [moved from runtimes/neurun/core/include/model/operation/IndexList.h with 90% similarity]
runtimes/neurun/core/include/model/OperationVisitor.h [moved from runtimes/neurun/core/include/model/operation/NodeVisitor.h with 69% similarity]
runtimes/neurun/core/include/model/Operations.Include.h [new file with mode: 0644]
runtimes/neurun/core/include/model/Operations.h [moved from runtimes/neurun/core/include/model/operation/Set.h with 87% similarity]
runtimes/neurun/core/include/model/Operations.lst [moved from runtimes/neurun/core/include/model/operation/Op.lst with 100% similarity]
runtimes/neurun/core/include/model/operand/Object.h
runtimes/neurun/core/include/model/operation/AbsNode.h
runtimes/neurun/core/include/model/operation/AddNode.h
runtimes/neurun/core/include/model/operation/ArgMaxNode.h
runtimes/neurun/core/include/model/operation/AvgPool2DNode.h
runtimes/neurun/core/include/model/operation/CastNode.h
runtimes/neurun/core/include/model/operation/ComparisonNode.h
runtimes/neurun/core/include/model/operation/ConcatNode.h
runtimes/neurun/core/include/model/operation/Conv2DNode.h
runtimes/neurun/core/include/model/operation/DepthToSpaceNode.h
runtimes/neurun/core/include/model/operation/DepthwiseConv2DNode.h
runtimes/neurun/core/include/model/operation/DequantizeNode.h
runtimes/neurun/core/include/model/operation/DivNode.h
runtimes/neurun/core/include/model/operation/EmbeddingLookupNode.h
runtimes/neurun/core/include/model/operation/ExpNode.h
runtimes/neurun/core/include/model/operation/FloorNode.h
runtimes/neurun/core/include/model/operation/FullyConnectedNode.h
runtimes/neurun/core/include/model/operation/GatherNode.h
runtimes/neurun/core/include/model/operation/HashtableLookupNode.h
runtimes/neurun/core/include/model/operation/L2NormalizationNode.h
runtimes/neurun/core/include/model/operation/L2Pool2DNode.h
runtimes/neurun/core/include/model/operation/LocalResponseNormalizationNode.h
runtimes/neurun/core/include/model/operation/LogicalAndNode.h
runtimes/neurun/core/include/model/operation/LogicalNotNode.h
runtimes/neurun/core/include/model/operation/LogicalOrNode.h
runtimes/neurun/core/include/model/operation/LogisticNode.h
runtimes/neurun/core/include/model/operation/MaxPool2DNode.h
runtimes/neurun/core/include/model/operation/MeanNode.h
runtimes/neurun/core/include/model/operation/MulNode.h
runtimes/neurun/core/include/model/operation/NegNode.h
runtimes/neurun/core/include/model/operation/Node.Include.h [deleted file]
runtimes/neurun/core/include/model/operation/PReLUNode.h
runtimes/neurun/core/include/model/operation/PermuteNode.h
runtimes/neurun/core/include/model/operation/RSQRTNode.h
runtimes/neurun/core/include/model/operation/ReLU1Node.h
runtimes/neurun/core/include/model/operation/ReLU6Node.h
runtimes/neurun/core/include/model/operation/ReLUNode.h
runtimes/neurun/core/include/model/operation/ReduceMaxNode.h
runtimes/neurun/core/include/model/operation/ReduceMinNode.h
runtimes/neurun/core/include/model/operation/ReduceSumNode.h
runtimes/neurun/core/include/model/operation/ReshapeNode.h
runtimes/neurun/core/include/model/operation/ResizeBilinearNode.h
runtimes/neurun/core/include/model/operation/SQRTNode.h
runtimes/neurun/core/include/model/operation/SoftmaxNode.h
runtimes/neurun/core/include/model/operation/SpaceToDepthNode.h
runtimes/neurun/core/include/model/operation/SquaredDifferenceNode.h
runtimes/neurun/core/include/model/operation/SqueezeNode.h
runtimes/neurun/core/include/model/operation/StridedSliceNode.h
runtimes/neurun/core/include/model/operation/SubNode.h
runtimes/neurun/core/include/model/operation/Subgraph.h
runtimes/neurun/core/include/model/operation/TanhNode.h
runtimes/neurun/core/include/model/operation/TopKV2Node.h
runtimes/neurun/core/include/model/operation/TransposeConvNode.h
runtimes/neurun/core/include/model/operation/TransposeNode.h
runtimes/neurun/core/include/util/config/Config.lst
runtimes/neurun/core/src/compiler/BackendResolver.h
runtimes/neurun/core/src/compiler/OperationValidator.h
runtimes/neurun/core/src/compiler/ParamChecker.h
runtimes/neurun/core/src/compiler/SubTensorAnalyzer.h
runtimes/neurun/core/src/graph/Graph.cc
runtimes/neurun/core/src/graph/dumper/Dumper.h
runtimes/neurun/core/src/linear/Linear.cc
runtimes/neurun/core/src/linear/Linear.h
runtimes/neurun/core/src/model/OperandConstraint.cc [moved from runtimes/neurun/core/src/model/operation/OperandConstraint.cc with 94% similarity]
runtimes/neurun/core/src/model/OperationIndexList.cc [moved from runtimes/neurun/core/src/model/operation/IndexList.cc with 77% similarity]
runtimes/neurun/core/src/model/Operations.cc [moved from runtimes/neurun/core/src/model/operation/Set.cc with 63% similarity]
runtimes/neurun/core/src/model/operation/AbsNode.cc
runtimes/neurun/core/src/model/operation/AddNode.cc
runtimes/neurun/core/src/model/operation/ArgMaxNode.cc
runtimes/neurun/core/src/model/operation/AvgPool2DNode.cc
runtimes/neurun/core/src/model/operation/CastNode.cc
runtimes/neurun/core/src/model/operation/ComparisonNode.cc
runtimes/neurun/core/src/model/operation/ConcatNode.cc
runtimes/neurun/core/src/model/operation/Conv2DNode.cc
runtimes/neurun/core/src/model/operation/DepthToSpaceNode.cc
runtimes/neurun/core/src/model/operation/DepthwiseConv2DNode.cc
runtimes/neurun/core/src/model/operation/DequantizeNode.cc
runtimes/neurun/core/src/model/operation/DivNode.cc
runtimes/neurun/core/src/model/operation/EmbeddingLookupNode.cc
runtimes/neurun/core/src/model/operation/ExpNode.cc
runtimes/neurun/core/src/model/operation/FloorNode.cc
runtimes/neurun/core/src/model/operation/FullyConnectedNode.cc
runtimes/neurun/core/src/model/operation/GatherNode.cc
runtimes/neurun/core/src/model/operation/HashtableLookupNode.cc
runtimes/neurun/core/src/model/operation/L2NormalizationNode.cc
runtimes/neurun/core/src/model/operation/L2Pool2DNode.cc
runtimes/neurun/core/src/model/operation/LocalResponseNormalizationNode.cc
runtimes/neurun/core/src/model/operation/LogicalAndNode.cc
runtimes/neurun/core/src/model/operation/LogicalNotNode.cc
runtimes/neurun/core/src/model/operation/LogicalOrNode.cc
runtimes/neurun/core/src/model/operation/LogisticNode.cc
runtimes/neurun/core/src/model/operation/MaxPool2DNode.cc
runtimes/neurun/core/src/model/operation/MeanNode.cc
runtimes/neurun/core/src/model/operation/MulNode.cc
runtimes/neurun/core/src/model/operation/NegNode.cc
runtimes/neurun/core/src/model/operation/PReLUNode.cc
runtimes/neurun/core/src/model/operation/PermuteNode.cc
runtimes/neurun/core/src/model/operation/RSQRTNode.cc
runtimes/neurun/core/src/model/operation/ReLU1Node.cc
runtimes/neurun/core/src/model/operation/ReLU6Node.cc
runtimes/neurun/core/src/model/operation/ReLUNode.cc
runtimes/neurun/core/src/model/operation/ReduceMaxNode.cc
runtimes/neurun/core/src/model/operation/ReduceMinNode.cc
runtimes/neurun/core/src/model/operation/ReduceSumNode.cc
runtimes/neurun/core/src/model/operation/ReshapeNode.cc
runtimes/neurun/core/src/model/operation/ResizeBilinearNode.cc
runtimes/neurun/core/src/model/operation/SQRTNode.cc
runtimes/neurun/core/src/model/operation/SoftmaxNode.cc
runtimes/neurun/core/src/model/operation/SpaceToDepthNode.cc
runtimes/neurun/core/src/model/operation/SquaredDifferenceNode.cc
runtimes/neurun/core/src/model/operation/SqueezeNode.cc
runtimes/neurun/core/src/model/operation/StridedSliceNode.cc
runtimes/neurun/core/src/model/operation/SubNode.cc
runtimes/neurun/core/src/model/operation/Subgraph.cc
runtimes/neurun/core/src/model/operation/TanhNode.cc
runtimes/neurun/core/src/model/operation/TopKV2Node.cc
runtimes/neurun/core/src/model/operation/TransposeConvNode.cc
runtimes/neurun/core/src/model/operation/TransposeNode.cc
runtimes/neurun/frontend/nnapi/wrapper/OperationFactory.cc
runtimes/neurun/frontend/nnapi/wrapper/model.cc
runtimes/neurun/test/graph/MockNode.h
runtimes/neurun/test/graph/operation/Set.cc