How to support explicit padding on TFLite backend
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- machine-learning, tensorflow
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
The explicit-padding path is in the TFLite graph builder, graph_builder_tflite.cc under services/webnn/tflite in Chromium, which inserts a pad op that counts padded values in averages. The failing case is the averagePool2d WPT conformance test in the webnn/conformance_tests folder. The issue asks how to support exclude-padding semantics, not what exact change to make, so a design decision is needed before any edit. Done would mean the averagePool2d WPT passes on the TFLite backend.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
TensorFlow only offers two main padding modes for conv2d and pool2d: VALID and SAME.
VALIDimplies no padding is applied to the input.SAMEaims to produce an output with the same spatial dimensions as the input, assuming a stride of 1.
At current implementation of the explicit padding on TFLite backend is to insert a pad operation if the explicit padding can't treated as SAME padding mode, but inserted pad is including value when calculating values for the edges, excluding value is required for the explicit padding. So some WPT failed to run for the unexpected result.
The count_include_pad in ONNX average pool is false by default and the exclude_padding_from_average in CoreML average pool is true by default.
- Ngôn ngữ chính
- Bikeshed
- Star
- 566
- Fork
- 72
- Merge trung bình
- 6 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của webmachinelearning/webnn
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
webmachinelearning/webnn#967 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
webmachinelearning/webnn#966 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
webmachinelearning/webnn#965 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
webmachinelearning/webnn#964 · 1 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
webmachinelearning/webnn#963 · 3 bình luận · 2 reaction ·
Tất cả issue của webmachinelearning/webnn
Issue tương tự
-
[Platform][OpenAi] Non-streaming structured output parses commentary instead of final_answerĐang mởBug Platform Status: Needs Review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
discussion tuning
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
stew675/llama-cpp-rdna-boosts#214 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws-samples/sample-aiml-security-assessment#90 ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Eval bug: minimax-m3: build_moe_ffn() drops the per-expert NVFP4 scale → garbled output (M3.1 Flash)Đang mởbug-unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày