[nnc] Eliminate redundant memory copy (#2984)
authorEfimov Alexander/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Fri, 1 Feb 2019 09:52:37 +0000 (12:52 +0300)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 1 Feb 2019 09:52:37 +0000 (12:52 +0300)
commit98c4c1d8aa9ba59f45a12c21a0ac9be78007ee6a
tree5d9429f6a0d3bfb4bcf8c203aef5b3b9a6c20436
parentea090411f19a6906f27565a80b122448d4ce30f6
[nnc] Eliminate redundant memory copy (#2984)

Do not copy memory in `Tensor::operator=` in case of constant argument

Signed-off-by: Efimov Alexander <a.efimov@samsung.com>
contrib/nnc/passes/soft_backend/code_snippets/cpp_header_types.def