Derive both INETensor and ICLTensor from common base IACLTensor (#5706)
authorСергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 <s.barannikov@samsung.com>
Fri, 19 Jul 2019 00:43:53 +0000 (03:43 +0300)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 19 Jul 2019 00:43:53 +0000 (09:43 +0900)
commit3398f87f89dcd761b43af6df760a66e7de4f92da
treef01e03a3cb095c85ef8df9b4cb4333b147a55c38
parentbe2586de9d29fc589bdd82023a4d825c5613912e
Derive both INETensor and ICLTensor from common base IACLTensor (#5706)

This is to reduce code duplication (almost all code from derived classes has been moved to base) and simplify their usages through base class.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
13 files changed:
runtimes/neurun/backend/acl_cl/operand/CLSubTensor.cc
runtimes/neurun/backend/acl_cl/operand/CLSubTensor.h
runtimes/neurun/backend/acl_cl/operand/CLTensor.cc
runtimes/neurun/backend/acl_cl/operand/CLTensor.h
runtimes/neurun/backend/acl_cl/operand/ICLTensor.cc [deleted file]
runtimes/neurun/backend/acl_cl/operand/ICLTensor.h
runtimes/neurun/backend/acl_common/IACLTensor.cc [moved from runtimes/neurun/backend/acl_neon/operand/INETensor.cc with 51% similarity]
runtimes/neurun/backend/acl_common/IACLTensor.h [new file with mode: 0644]
runtimes/neurun/backend/acl_neon/operand/INETensor.h
runtimes/neurun/backend/acl_neon/operand/NESubTensor.cc
runtimes/neurun/backend/acl_neon/operand/NESubTensor.h
runtimes/neurun/backend/acl_neon/operand/NETensor.cc
runtimes/neurun/backend/acl_neon/operand/NETensor.h