mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
[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:
parent
e6c9ed0606
commit
c11cffb565
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue