github web-platform-tests/wpt merge_pr_47034

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
6 months ago

webnn: Fix the unexpected result of Fast Style Transfer

The total padding of convTranspose2d should be calculated with (inputSize - 1) * stride + (filterSize - 1) * dilation + 1 -
input_size * stride` that refers to the expression of computing
convtranspose output size [1].

[1] https://www.w3.org/TR/webnn/#api-mlgraphbuilder-convtranspose2d

Bug: 350775868
Change-Id: I4c675071192fd5e829fb92940e81829a3b0c6055
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5679732
Commit-Queue: Junwei Fu junwei.fu@intel.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Reviewed-by: Reilly Grant reillyg@chromium.org
Cr-Commit-Position: refs/heads/main@{#1325239}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.