[manager] Temporarily handle external tensors
authorParichay Kapoor <pk.kapoor@samsung.com>
Tue, 28 Sep 2021 05:45:50 +0000 (14:45 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 1 Oct 2021 02:59:03 +0000 (11:59 +0900)
commit5751ebce59155ef71e3491354f99eb67cb44f169
tree3db17763eff9f7e169eeb58c0d4444ebee84f3b5
parent2778e7c512644e2dd3bfa73d0b4556fbfb58788e
[manager] Temporarily handle external tensors

With rebase, the var_grads representing inputs cannot be null tensors.
This patch provides a temporary fix for this issue. Proper fix for the
issue is added in #1544.

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
nntrainer/graph/network_graph.cpp
nntrainer/graph/network_graph.h
nntrainer/models/neuralnet.cpp
nntrainer/tensor/manager.cpp
nntrainer/tensor/manager.h