Skip to content

Commit

Permalink
[android] add init filter of llama2c
Browse files Browse the repository at this point in the history
This patch adds init_filter function of llama2c in android.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
  • Loading branch information
niley7464 committed Sep 20, 2024
1 parent cf145b7 commit 414ce92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions java/android/nnstreamer/src/main/jni/nnstreamer-native-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ extern void init_filter_torch (void);
#if defined (ENABLE_MXNET)
extern void init_filter_mxnet (void);
#endif
#if defined (ENABLE_LLAMA2C)
extern void init_filter_llama2c (void);
#endif


#if defined GST_VERSION_MINOR && GST_VERSION_MINOR >= 24
Expand Down Expand Up @@ -957,6 +960,9 @@ nnstreamer_native_initialize (JNIEnv * env, jobject context)
#if defined (ENABLE_MXNET)
init_filter_mxnet ();
#endif
#if defined (ENABLE_LLAMA2C)
init_filter_llama2c ();
#endif
#endif /* __ANDROID__ */
nns_is_initilaized = TRUE;
}
Expand Down

0 comments on commit 414ce92

Please sign in to comment.