[neurun] Apply tensor lifetime-info(use-def) to Linear/TensorBuilder (#3409)
* [neurun] Apply tensor lifetime-info(use-def) to memory allocation
Applies tensor lifetime-info(use-def) to memory allocation with revising
Linear and TensorBuilder.
- Introduce vassignTensors(virtually assign tensors) in Linear instead
of markTensors
- Introduce assign(assign memory virtually)/unassign(unassign memory
virtually) in TensorBuilder instead of mark
Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
* Fix release build error
* Rename functions properly
Linear::vassignTensors -> planTensors
ITensorBuilder::assign -> notifyFirstUse
ITensorBuilder::unassign -> notifyLastUse
* Fix log
* Fix searching output first than input