[wpt-sync] Sync PR 58702 - Reland "webnn: avoid executing alpha * A * B when gemma.alpha is 0 for TFLite backend"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox151 fixed)
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
188.90 KB,
text/plain
|
Details |
Sync web-platform-tests PR 58702 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58702
Details from upstream follow.
Lisha Guo <guolisha@kylinos.cn> wrote:
Reland "webnn: avoid executing alpha * A * B when gemma.alpha is 0 for TFLite backend"
This is a reland of commit d67bfe074092f688a727259e0ed07388a24d36c2
Original change's description:
webnn: avoid executing alpha * A * B when gemma.alpha is 0 for TFLite backend
This CL removed unnecessary matrix multiplication computation for gemm
operator when alpha is 0.Change-Id: Ifaee7908b057017f39236e64436707db8a04551e
Bug: 372932099
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7509907
Commit-Queue: Fu, Junwei \<junwei.fu@intel.com>
Reviewed-by: Reilly Grant \<reillyg@chromium.org>
Reviewed-by: Hu, Ningxin \<ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1592989}Bug: 372932099
Change-Id: Ibdee03c93381ef07726112b61f4194845749d1fc
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7636869
Reviewed-by: Fu, Junwei \<junwei.fu@intel.com>
Reviewed-by: Reilly Grant \<reillyg@chromium.org>
Commit-Queue: lisha guo \<guolisha@kylinos.cn>
Cr-Commit-Position: refs/heads/main@{#1603873}
| Assignee | ||
Comment 1•2 months ago
|
||
| Assignee | ||
Comment 2•2 months ago
|
||
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•