[new_runtime] Initial structure change (#1843)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 4 Jul 2018 05:31:01 +0000 (14:31 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 4 Jul 2018 05:31:01 +0000 (14:31 +0900)
commitf89f288adacaa2b8544295c7eee55aa7c94ffed0
treea856a687cd85f9faa087a8b3c116bc06f2f340e6
parent1a0b4e2a0c6e3537c986c59b5c2e034a69951ed0
[new_runtime] Initial structure change (#1843)

Change runtime structure to support multiple backends

- Introduce `Backend` which contains IInitializerGenerator and
  IStageGenerator
- Introduce `BackendResolver` so we can choose which backend for each
  operation
- Introduce `IObject` so it can access any kind of tensors from different
  backends
- Move arm_compute-specific implementation to arm_compute directory
- Keep Concat layer for later elimination since it is hard to know at
  first if we have heterogeneous backends

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
17 files changed:
runtimes/new_runtime/src/compilation.cc
runtimes/new_runtime/src/internal/BackendManager.cc [new file with mode: 0644]
runtimes/new_runtime/src/internal/BackendManager.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/IInitializerGenerator.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/IObject.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/IStageGenerator.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/ITensorBuilder.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/Padding.cc [new file with mode: 0644]
runtimes/new_runtime/src/internal/Padding.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/arm_compute.cc
runtimes/new_runtime/src/internal/arm_compute.h
runtimes/new_runtime/src/internal/arm_compute/InitializerGenerator.cc [new file with mode: 0644]
runtimes/new_runtime/src/internal/arm_compute/InitializerGenerator.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/arm_compute/StageGenerator.cc [new file with mode: 0644]
runtimes/new_runtime/src/internal/arm_compute/StageGenerator.h [new file with mode: 0644]
runtimes/new_runtime/src/internal/arm_compute/TensorBuilder.cc [new file with mode: 0644]
runtimes/new_runtime/src/internal/arm_compute/TensorBuilder.h [new file with mode: 0644]