|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
|
#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | AI_STAGED_MAX (24u) |
Functions | |
| int | ai_model_staged_load (uint32_t header_addr) |
| สร้างและลงทะเบียนโมเดลที่ CM33 staged ไว้ในหน่วยความจำร่วม; เรียกได้จาก task context เท่านั้น | |
| uint32_t | ai_model_staged_heap_free (void) |
| จำนวนไบต์ว่างบน CM55 heap; เป็นการอ่านตัวเดียวในหัวข้อนี้ที่ปลอดภัยใน ISR | |
| uint32_t | ai_model_staged_count (void) |
| จำนวนโมเดลที่สร้างขึ้นในรอบการบูตนี้ — เป็นสัญญาณตอบรับด้วยการสังเกตของ staged_load | |
| uint32_t | ai_model_staged_rejects (void) |
| จำนวนการโหลดที่ถูกปฏิเสธในรอบการบูตนี้; ให้จับคู่กับ ai_model_staged_last_rc() | |
| int32_t | ai_model_staged_last_rc (void) |
| รหัสที่ตัวโหลดคืนมาครั้งล่าสุด (-1..-7 หรือดัชนีใน registry เมื่อสำเร็จ) | |
| #define AI_STAGED_MAX (24u) |