| 11 | #define ns(x) FLATBUFFERS_WRAP_NAMESPACE(MegCC, x) |
| 12 | |
| 13 | static inline char* get_string(const char* in) { |
| 14 | if (!in) |
| 15 | return NULL; |
| 16 | int len = strlen(in) + 1; |
| 17 | char* ret = (char*)tinynn_malloc(len + 1); |
| 18 | strcpy(ret, in); |
| 19 | return ret; |
| 20 | } |
| 21 | |
| 22 | TinyNNStatus parse_tensor(Tensor* tensor, ns(Tensor_table_t) fbs_tensor, int tensor_id); |
| 23 |
no test coverage detected