-
-
Save Tob-iee/5432ce29ef3ecb1ce110a2ce5c939987 to your computer and use it in GitHub Desktop.
model file in cc format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "tensorflow/lite/micro/examples/micro_speech/micro_features/model.h" | |
// We need to keep the data array aligned on some architectures. | |
#ifdef __has_attribute | |
#define HAVE_ATTRIBUTE(x) __has_attribute(x) | |
#else | |
#define HAVE_ATTRIBUTE(x) 0 | |
#endif | |
#if HAVE_ATTRIBUTE(aligned) || (defined(__GNUC__) && !defined(__clang__)) | |
#define DATA_ALIGN_ATTRIBUTE __attribute__((aligned(4))) | |
#else | |
#define DATA_ALIGN_ATTRIBUTE | |
#endif | |
const unsigned char g_model[] DATA_ALIGN_ATTRIBUTE = { | |
0x20, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x00, 0x00, | |
// <Lines omitted> | |
0x03, 0x00, 0x00, 0x00}; | |
const int g_model_len = 18712; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment