Refactor IDotInfo and its derivatives (#5581)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Mon, 15 Jul 2019 10:16:49 +0000 (19:16 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 15 Jul 2019 10:16:49 +0000 (19:16 +0900)
commit64c3690d625bebc4ba6db6a863257f879bd6f48e
tree1702a16d986f911f9e27a3df26d766c246273ec0
parenta2116682ce62c015055cbb427d3863a5546c33bc
Refactor IDotInfo and its derivatives (#5581)

This commit refactors `IDotInfo` and its derivatives - `DotOperandInfo`
and `DotNodeInfo`.

- `IDotInfo` -> `Node` (represents "Node" of DOT format)
- `DotOperandInfo` -> `OperandNode`
- `DotNodeInfo` -> `OperationNode`
- `NodeAttr` -> removed

Now `Node` manages a map of attributes which behaves almost same with
`NodeAttr` so it has been removed.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/core/src/dumper/dot/DotBuilder.cc
runtimes/neurun/core/src/dumper/dot/DotBuilder.h
runtimes/neurun/core/src/dumper/dot/DotDumper.cc
runtimes/neurun/core/src/dumper/dot/DotOperandInfo.cc [deleted file]
runtimes/neurun/core/src/dumper/dot/IDotInfo.h [deleted file]
runtimes/neurun/core/src/dumper/dot/Node.cc [new file with mode: 0644]
runtimes/neurun/core/src/dumper/dot/Node.h [new file with mode: 0644]
runtimes/neurun/core/src/dumper/dot/OperandNode.cc [new file with mode: 0644]
runtimes/neurun/core/src/dumper/dot/OperandNode.h [moved from runtimes/neurun/core/src/dumper/dot/DotOperandInfo.h with 64% similarity]
runtimes/neurun/core/src/dumper/dot/OperationNode.cc [moved from runtimes/neurun/core/src/dumper/dot/DotNodeInfo.cc with 50% similarity]
runtimes/neurun/core/src/dumper/dot/OperationNode.h [moved from runtimes/neurun/core/src/dumper/dot/DotNodeInfo.h with 62% similarity]