Revert "WebNN: Flatten adjacent dimensions for GEMM > 4D for DirectML"
This reverts commit 0dfa0868aa787cf6d8a32fca83e37ea422b1d0b4.
Reason for revert: failing test in https://ci.chromium.org/ui/p/chromium/builders/ci/win11-arm64-rel-tests/2392/overview. need to update expectations?
Original change's description:
WebNN: Flatten adjacent dimensions for GEMM > 4D for DirectML
This CL flattens adjacent dimensions for GEMM > 4D because
DML_GEMM_OPERATOR_DESC[1] restricts tensor's rank <= 4.[1] https://learn.microsoft.com/en-us/windows/win32/api/directml/ns-directml-dml_gemm_operator_desc
Bug: 353856233
Change-Id: Ifbced3d3081594ec6fdefc3a2d381ba675aba7cf
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5810975
Reviewed-by: ningxin hu ningxin.hu@intel.com
Commit-Queue: Mingming1 Xu mingming1.xu@intel.com
Reviewed-by: Rafael Cintron rafael.cintron@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1354311}
Bug: 353856233
Change-Id: I0f85c9cfe7bee29b9850e9c9c362b51554339933
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857165
Auto-Submit: Greg Thompson grt@chromium.org
Owners-Override: Greg Thompson grt@google.com
Commit-Queue: Greg Thompson grt@chromium.org
Bot-Commit: Rubber Stamper rubber-stamper@appspot.gserviceaccount.com
Cr-Commit-Position: refs/heads/main@{#1354468}