[nnc] Prepare the ACL backend for the future changes related to adding of the Tensor...
authorСергей Баранников/AI Tools Lab /SRR/Engineer/삼성전자 <s.barannikov@samsung.com>
Mon, 28 Jan 2019 10:24:38 +0000 (13:24 +0300)
committerEfimov Alexander/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Mon, 28 Jan 2019 10:24:38 +0000 (13:24 +0300)
commitd022bc48f9ba7b33e560d37e08f90c6eca53e6fb
treec95864eec8f9265bc6b2fcecc5219c6b86fed813
parent96c2e7130c79922b568ebdf9994bce03c5ad35ca
[nnc] Prepare the ACL backend for the future changes related to adding of the Tensor class in the ModelIR (#2933)

* Change the signature of `tensorName` and `genTensor` methods to accept `IODescriptor` instead of `Operation`.
* Use the `collectInputs` and `collectOutputs` methods of Graph class instead of collecting input and output operations manually in the ACL backend.
* Add `getInput` method to `Operation` class.
* Add uses of `getInput` method in the ACL backend.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
contrib/nnc/include/core/modelIR/Operation.h
contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.cpp
contrib/nnc/passes/acl_soft_backend/AclCppOpGenerator.h
contrib/nnc/passes/soft_backend/ModelAnalyzer.cpp
contrib/nnc/unittests/core/operation.cpp