Add OBSERVE stats and auto tiny policy profile
This commit is contained in:
@ -29,6 +29,12 @@ extern TinyClassPolicy g_tiny_class_policy[TINY_NUM_CLASSES];
|
||||
// Initialize policy table once (idempotent).
|
||||
void tiny_class_policy_init_once(void);
|
||||
|
||||
// Refresh auto profile based on learner output (no-op for non-auto profiles)
|
||||
void tiny_class_policy_refresh_auto(void);
|
||||
|
||||
// Debug helper: dump current policy (tag optional)
|
||||
void tiny_class_policy_dump(const char* tag);
|
||||
|
||||
// Lightweight accessor for hot paths.
|
||||
static inline const TinyClassPolicy* tiny_policy_get(int class_idx) {
|
||||
if (class_idx < 0 || class_idx >= TINY_NUM_CLASSES) {
|
||||
|
||||
Reference in New Issue
Block a user