[weight/var_grad] Remove exposure of weight/var_grad
authorParichay Kapoor <pk.kapoor@samsung.com>
Mon, 26 Jul 2021 08:27:06 +0000 (17:27 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 3 Aug 2021 05:26:04 +0000 (14:26 +0900)
commit435aa81b8fd5a43906453f8bb9bcf8c5d13dc47f
treef7e25010e4b8503f786cf15a143515fff6cc0e5d
parent48ecd8a07197564e33f8279260832be3b662e959
[weight/var_grad] Remove exposure of weight/var_grad

This patch updates the usage of weight and var_grad headers in order to
hide them internally and not expose them in the devel headers.
The below changes are made to support this:
- weight and var_grad specs are declared separately in tensor wrapper
specs header.
- layer_context is made indepedent of the weight and var_grad
definition. The usages and implementation are moved to layer_context
souce file.

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
12 files changed:
debian/nntrainer-dev.install
jni/Android.mk
nntrainer/layers/layer_context.cpp [new file with mode: 0644]
nntrainer/layers/layer_context.h
nntrainer/layers/layer_node.h
nntrainer/layers/meson.build
nntrainer/layers/time_dist.cpp
nntrainer/tensor/meson.build
nntrainer/tensor/tensor_wrap_specs.h [new file with mode: 0644]
nntrainer/tensor/var_grad.h
nntrainer/tensor/weight.h
packaging/nntrainer.spec