From a7a7d6b7664224fb7ac938d75c2fa530cdc2bc62 Mon Sep 17 00:00:00 2001 From: Belem Zhang Date: Fri, 11 Oct 2024 09:33:28 +0800 Subject: [PATCH] Remove Wasm and WebGL backends (WebNN-Polyfill) (#281) * Remove Wasm and WebGL backends (WebNN-Polyfill) * update README * Remove css class which does not exist in page --- README.md | 3 +- code/index.html | 2 +- code/main.js | 8 +- common/component/component.js | 7 -- common/utils.js | 103 ++---------------- face_recognition/facenet_nchw.js | 8 -- face_recognition/facenet_nhwc.js | 8 -- face_recognition/index.html | 6 - face_recognition/main.js | 12 +- .../face_landmark_nchw.js | 8 -- .../face_landmark_nhwc.js | 8 -- facial_landmark_detection/index.html | 6 - facial_landmark_detection/main.js | 12 +- .../ssd_mobilenetv2_face_nchw.js | 8 -- .../ssd_mobilenetv2_face_nhwc.js | 8 -- .../efficientnet_fp16_nchw.js | 8 -- image_classification/index.html | 6 - image_classification/main.js | 8 +- image_classification/mobilenet_nchw.js | 8 -- image_classification/mobilenet_nhwc.js | 8 -- image_classification/resnet50v1_fp16_nchw.js | 8 -- image_classification/resnet50v2_nchw.js | 8 -- image_classification/resnet50v2_nhwc.js | 8 -- image_classification/squeezenet_nchw.js | 8 -- image_classification/squeezenet_nhwc.js | 8 -- lenet/index.html | 6 - lenet/main.js | 10 +- nnotepad/TODO.md | 1 - nsnet2/index.html | 6 - nsnet2/main.js | 13 ++- object_detection/index.html | 6 - object_detection/main.js | 8 +- object_detection/ssd_mobilenetv1_nchw.js | 8 -- object_detection/ssd_mobilenetv1_nhwc.js | 8 -- object_detection/tiny_yolov2_nchw.js | 8 -- object_detection/tiny_yolov2_nhwc.js | 8 -- rnnoise/index.html | 6 - rnnoise/main.js | 9 +- semantic_segmentation/deeplabv3_mnv2_nchw.js | 8 -- semantic_segmentation/deeplabv3_mnv2_nhwc.js | 8 -- semantic_segmentation/index.html | 6 - semantic_segmentation/main.js | 8 +- style_transfer/fast_style_transfer_net.js | 8 -- style_transfer/index.html | 6 - style_transfer/main.js | 13 ++- 45 files changed, 59 insertions(+), 380 deletions(-) diff --git a/README.md b/README.md index edadedd1..f90486ff 100644 --- a/README.md +++ b/README.md @@ -95,8 +95,7 @@ We welcome contributions from the community to make webnn-samples even better! I ### WebNN Resources To learn more about Web Neural Network API (WebNN) and its capabilities, check out the following resources: * [Web Neural Network API Specification](https://webmachinelearning.github.io/webnn/) -* [WebNN Polyfill](https://github.com/webmachinelearning/webnn-polyfill) -* [WebNN Community Group](https://webmachinelearning.github.io/) +* [W3C WebML Working Group and Community Group](https://webmachinelearning.github.io/) ### WebNN API Samples * [WebNN code editor](https://webmachinelearning.github.io/webnn-samples/code/) diff --git a/code/index.html b/code/index.html index 23acfc2e..0d1c908f 100644 --- a/code/index.html +++ b/code/index.html @@ -70,7 +70,7 @@ - +