Download cmake/checks/webnn.cpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 589 Bytes
-
https://huggingface.co/tgollogly/test/resolve/main/cmake/checks/webnn.cpp
- Command line
-
hf download hf://tgollogly/test/cmake/checks/webnn.cpp
-
curl -L -o webnn.cpp https://huggingface.co/tgollogly/test/resolve/main/cmake/checks/webnn.cpp
589 Bytes
| int main(int /*argc*/, char** /*argv*/) | |
| { | |
| ml::Context ml_context = ml::Context(emscripten_webnn_create_context()); | |
| WebnnProcTable backendProcs = webnn_native::GetProcs(); | |
| webnnProcSetProcs(&backendProcs); | |
| ml::Context ml_context = ml::Context(webnn_native::CreateContext()); | |
| return 0; | |
| } |