From 64f184956ac8a9a52e8b89e8594f3d91583bb9f0 Mon Sep 17 00:00:00 2001 From: Xu Xing Date: Tue, 30 Jul 2024 11:01:24 +0800 Subject: [PATCH] [js/webgpu] Fix wrong shape in maxpool Bug: https://github.com/microsoft/onnxruntime/issues/21386 --- js/web/lib/wasm/jsep/webgpu/ops/pool.ts | 10 ++++++++-- js/web/test/suite-test-list.jsonc | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/js/web/lib/wasm/jsep/webgpu/ops/pool.ts b/js/web/lib/wasm/jsep/webgpu/ops/pool.ts index 5521650e8ded4..e532437c99351 100644 --- a/js/web/lib/wasm/jsep/webgpu/ops/pool.ts +++ b/js/web/lib/wasm/jsep/webgpu/ops/pool.ts @@ -31,8 +31,14 @@ const getAdjustedPoolAttributesAndOutputShape =