[js/web] Fix typo in JSEP ConvTranspose (#16884)

### Description
A typo fix in JSEP ConvTranspose. It used $12 as output shape pointer
but it should be $13. As $12 holds shape size
This commit is contained in:
Arthur Islamov 2023-08-03 20:46:18 +04:00 committed by GitHub
parent e6c9ed0606
commit c11cffb565
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ class ConvTranspose : public JsKernel {
"strides" : [$7],
"wIsConst" : () JS_ARROW(!!HEAP8[$9]),
"outputPadding" : $10 ? Array.from(HEAP32.subarray($11, $11 + $10)) : [],
"outputShape" : $12 ? Array.from(HEAP32.subarray($12, $13 + $12)) : []
"outputShape" : $12 ? Array.from(HEAP32.subarray($13, $13 + $12)) : []
}),
static_cast<int32_t>(conv_transpose_attrs_.auto_pad),
static_cast<int32_t>(conv_transpose_attrs_.dilations.size() > 0 ? conv_transpose_attrs_.dilations[0] : 0),