One unit test of the nnstreamer module has the wrong test when updating
the dimension of the input tensor. This patch fixes it.
Change-Id: I03f151ec3df38eaa103013eb6243889482bcb8e9
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
assert_eq (status, ML_ERROR_NONE);
ml_tensors_info_get_tensor_dimension (in_info, 0, res_dim);
- /* dim change */
- res_dim[3] += 1;
+ /* dim change (1:0:0:0 > 2:0:0:0) */
+ res_dim[0] += 1;
status = ml_tensors_info_set_tensor_dimension (in_info, 0, res_dim);
assert_eq (status, ML_ERROR_NONE);