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}