[var_grad] Support initializer for var_grad
authorParichay Kapoor <pk.kapoor@samsung.com>
Tue, 27 Jul 2021 06:36:23 +0000 (15:36 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 10 Aug 2021 22:46:58 +0000 (07:46 +0900)
commit5a00c76a79862124f392737bbd7c130afbc97183
tree0dbd0defbf833a6f32e772c9321e76c440587e15
parenta40440481f2e8e410bd961fc8d7ebc1c0df4e132
[var_grad] Support initializer for var_grad

Support initializer for variables and gradient in var_grad with the
initializer of the tensor. This allows initialization to be done for
requested tensors as well, which will be updated in a later commit.

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
nntrainer/layers/layer_context.h
nntrainer/layers/time_dist.cpp
nntrainer/tensor/manager.cpp
nntrainer/tensor/tensor_wrap_specs.h
nntrainer/tensor/var_grad.cpp
nntrainer/tensor/var_grad.h
nntrainer/tensor/weight.cpp
nntrainer/utils/node_exporter.cpp