Restructure inner data inside Tensor
authorJihoon Lee <jhoon.it.lee@samsung.com>
Wed, 1 Jul 2020 06:14:56 +0000 (15:14 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 3 Jul 2020 04:07:53 +0000 (13:07 +0900)
commit5722ab7eac819366c76fd1a59ee9a86a0fe36769
tree18f157f4033de5926eda86597a515988991d8f90
parente4e47a39cd804fc83a8d1f85490ec6dd257ba08f
Restructure inner data inside Tensor

**Changes proposed in this PR:**
- Change Tensor structure to enable sharing between Tensor
- Refactor Tensor ctors
- Add copy/move ctors & assignment operators

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
nntrainer/include/lazy_tensor.h
nntrainer/include/tensor.h
nntrainer/src/tensor.cpp