#include #include #ifdef __EMSCRIPTEN__ #include #include #include #else #include #include #endif int main(int /*argc*/, char** /*argv*/) { #ifdef __EMSCRIPTEN__ ml::Context ml_context = ml::Context(emscripten_webnn_create_context()); #else WebnnProcTable backendProcs = webnn_native::GetProcs(); webnnProcSetProcs(&backendProcs); ml::Context ml_context = ml::Context(webnn_native::CreateContext()); #endif return 0; }