You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ml service] Support flexible tensors for compatibility with filters like llama.cpp
- Refactor tensor allocation logic to support flexible tensor
- Enable compatibility with filters such as llama.cpp by allowing dynamic tensor management
Signed-off-by: hyunil park <hyunil46.park@samsung.com>
Copy file name to clipboardExpand all lines: c/include/nnstreamer-tizen-internal.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,8 @@ typedef struct {
37
37
char*models; /**< Comma separated neural network model files. */
38
38
char*custom_option; /**< Custom option string for neural network framework. */
39
39
char*fw_name; /**< The explicit framework name given by user */
40
+
intinvoke_dynamic; /**< True for supporting invoke with flexible output. */
41
+
intinvoke_async; /**< The sub-plugin must support asynchronous output to use this option. If set to TRUE, the sub-plugin can generate multiple outputs asynchronously per single input. Otherwise, only synchronous single-output is expected and async callback/handle are ignored. */
0 commit comments