Home
last modified time | relevance | path

Searched refs:ai_engine_ctx (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/ai_agent/src/
A Daiagent_engine.c31 static aiagent_context_t *ai_engine_ctx[] = { variable
60 for (i = 0; ai_engine_ctx[i]; ++i) { in aiagent_engine_init()
61 if (strncasecmp(ai_engine_ctx[i]->name, dev_name, strlen(dev_name)) == 0) { in aiagent_engine_init()
62 if (ai_engine_ctx[i]->available()) { in aiagent_engine_init()
63 engine = ai_engine_ctx[i]->create(index); in aiagent_engine_init()
69 for (i = 0; ai_engine_ctx[i]; ++i) { in aiagent_engine_init()
70 if (ai_engine_ctx[i]->available()) { in aiagent_engine_init()
71 engine = ai_engine_ctx[i]->create(index); in aiagent_engine_init()
87 g_ai_engine->name = ai_engine_ctx[i]->name; in aiagent_engine_init()

Completed in 3 milliseconds