[tensor] split tensor by given sizes
authorhyeonseok lee <hs89.lee@samsung.com>
Tue, 14 Mar 2023 04:39:49 +0000 (13:39 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Wed, 22 Mar 2023 13:30:12 +0000 (22:30 +0900)
commitb291315c36f2cfd1ce5f765e7f88b1984d1b2892
treeb0ea4f8a93b89ee283d382292a31edd644207d0b
parent1793ee5fa0b7b7299504648ffcde7c675a2fe107
[tensor] split tensor by given sizes

 - Until now tensor was splited evenly by given size, but from now on split operation can split the tensor by given sizes

Signed-off-by: hyeonseok lee <hs89.lee@samsung.com>
nntrainer/tensor/tensor.cpp
nntrainer/tensor/tensor.h
test/unittest/unittest_nntrainer_tensor.cpp