projects
/
platform
/
core
/
api
/
machine-learning.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bca17ae
)
[C-Api] Revert fill dim (default 1) commit
accepted/tizen/unified/20230413.123715
author
Sangjung Woo
<sangjung.woo@samsung.com>
Thu, 13 Apr 2023 00:15:22 +0000
(09:15 +0900)
committer
Sangjung Woo
<again4you@gmail.com>
Thu, 13 Apr 2023 02:15:03 +0000
(11:15 +0900)
Because of native TC failure, this patch reverts the fill dim (default
1) commit.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
c/src/ml-api-common.c
patch
|
blob
|
history
diff --git
a/c/src/ml-api-common.c
b/c/src/ml-api-common.c
index
b09e750
..
c78f96c
100644
(file)
--- a/
c/src/ml-api-common.c
+++ b/
c/src/ml-api-common.c
@@
-551,10
+551,6
@@
ml_tensors_info_get_tensor_dimension (ml_tensors_info_h info,
dimension[i] = tensors_info->info[index].dimension[i];
}
- /* Fill remained dim (default value 1) */
- for (i = valid_rank; i < ML_TENSOR_RANK_LIMIT; i++)
- dimension[i] = 1;
-
G_UNLOCK_UNLESS_NOLOCK (*tensors_info);
return ML_ERROR_NONE;
}