How to support explicit padding on TFLite backend
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- machine-learning, tensorflow
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Bikeshed
- スター
- 566
- フォーク
- 72
- 平均マージ
- 6日 5時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
webmachinelearning/webnn のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
webmachinelearning/webnn#967 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
webmachinelearning/webnn#966 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
webmachinelearning/webnn#965 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
webmachinelearning/webnn#964 · コメント 1 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
webmachinelearning/webnn#963 · コメント 3 件 · リアクション 2 件 ·
webmachinelearning/webnn の issue をすべて見る
似ている issue
-
test(bm_generation): pin the learning parameters and CPU sync shortcut対応中かも @iloveeyjafjalla が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
qboson/kaiwu-pytorch-plugin#1341 ·
メンテナーはふだん 2 日以内に返信
-
[BUG] RAG text cleaning deletes text between "<" and ">" (e.g. "P/E < 20 while ROE > 15%")対応中かも @saisarans2007 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SrigadaAkshayKumar/stock#344 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVlabs/GR00T-WholeBodyControl#286 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 3 日以内に返信