projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9914991
)
[Common] change tensor type of string
author
Jaeyun
<jy1210.jung@samsung.com>
Fri, 28 Sep 2018 07:13:58 +0000
(16:13 +0900)
committer
MyungJoo Ham
<myungjoo.ham@gmail.com>
Mon, 1 Oct 2018 02:25:47 +0000
(11:25 +0900)
for text stream, change tensor type to uint8
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
common/tensor_common.c
patch
|
blob
|
history
diff --git
a/common/tensor_common.c
b/common/tensor_common.c
index
a078ea7
..
6549b7c
100644
(file)
--- a/
common/tensor_common.c
+++ b/
common/tensor_common.c
@@
-489,7
+489,7
@@
gst_tensor_config_from_text_info (GstTensorConfig * config,
format_string = gst_structure_get_string (structure, "format");
if (format_string) {
if (g_str_equal (format_string, "utf8")) {
- config->info.type = _NNS_INT8;
+ config->info.type = _NNS_
U
INT8;
} else {
/** unsupported format */
err_print ("Unsupported format\n");