[Tensors] Add tensor dimensions string for negotiation
authorjijoong.moon <jijoong.moon@samsung.com>
Mon, 2 Jul 2018 01:59:56 +0000 (10:59 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Tue, 3 Jul 2018 00:29:50 +0000 (09:29 +0900)
commit5d0f8f2bb60958e0818d007c1e7fd1ca4ed9bc7b
treef40317cc47fd6df37877c0ffc3b4222ce8e36529
parent0aadd063353114e192e0303c34f2b078f7e9296d
[Tensors] Add tensor dimensions string for negotiation

Add tensors dimensions string for negotiation.
The default cap form of "other/tenosrs" is

"other/tensors, " \
"rank = (int) [ 1, 4 ], " \
"num_tensors = (int) [1, 65535], "\
"type = (string) { float32, float64, int32, uint32,
int16, uint16, int8, uint8 }, " \
"framerate = (fraction) [ 0/1, 2147483647/1 ]" \
/* Dimensions of Tensors for negotiation */
/* "dimensions = (string)
    dim1:dim2:dim3:dim4, dim1:dim2:dim3:dim4" */

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
common/tensor_meta.c
include/tensor_common.h
include/tensor_meta.h
tests/nnstreamer_tensors/runTest.sh
tests/nnstreamer_tensors/tensors_test/gsttensorscheck.c
tests/nnstreamer_tensors/tensors_test/gsttensorscheck.h
tests/nnstreamer_tensors/tensors_test/gsttesttensors.c
tests/nnstreamer_tensors/tensors_test/gsttesttensors.h