From 254c5f4e96660ae554b8058212a9315b963a1546 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Mon, 16 Dec 2024 00:59:43 +0000 Subject: [PATCH] Bug 1936423 [wpt PR 49626] - webnn: implement lstmCell in CoreML, a=testonly Automatic update from web-platform-tests webnn: implement lstmCell in CoreML Implemented as a single step lstm. Change-Id: Ia1d50cbf16985a1bc45a367831ccfe085fa51379 Bug: 360052663 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6082391 Commit-Queue: Phillis Tang Reviewed-by: Reilly Grant Cr-Commit-Position: refs/heads/main{#1394521} -- wpt-commits: 5741daf1cb7b2654f5c2bb0520f9f3d9e5d4cfb0 wpt-pr: 49626 UltraBlame original commit: 303bfcdc614a01543d5304c254b2beae5a82ac94 --- .../conformance_tests/lstm_cell.https.any.js | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/testing/web-platform/tests/webnn/conformance_tests/lstm_cell.https.any.js b/testing/web-platform/tests/webnn/conformance_tests/lstm_cell.https.any.js index b6c1e8c787bb..42a2999151b7 100644 --- a/testing/web-platform/tests/webnn/conformance_tests/lstm_cell.https.any.js +++ b/testing/web-platform/tests/webnn/conformance_tests/lstm_cell.https.any.js @@ -507,6 +507,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentWeight @@ -584,6 +589,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellHiddenState @@ -686,6 +696,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentBias @@ -722,6 +737,11 @@ dataType float32 ' } +' +constant +' +: +true } } ' @@ -1057,6 +1077,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentWeight @@ -1134,6 +1159,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellHiddenState @@ -1236,6 +1266,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentBias @@ -1272,6 +1307,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellPeepholeWeight @@ -1306,6 +1346,11 @@ dataType float32 ' } +' +constant +' +: +true } } ' @@ -1655,6 +1700,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentWeight @@ -1732,6 +1782,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellHiddenState @@ -1834,6 +1889,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentBias @@ -1870,6 +1930,11 @@ dataType float32 ' } +' +constant +' +: +true } } ' @@ -2218,6 +2283,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentWeight @@ -2295,6 +2365,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellHiddenState @@ -2397,6 +2472,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentBias @@ -2433,6 +2513,11 @@ dataType float32 ' } +' +constant +' +: +true } } ' @@ -2746,6 +2831,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentWeight @@ -2823,6 +2913,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellHiddenState @@ -2925,6 +3020,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellRecurrentBias @@ -2961,6 +3061,11 @@ dataType float32 ' } +' +constant +' +: +true } ' lstmCellPeepholeWeight @@ -2995,6 +3100,11 @@ dataType float32 ' } +' +constant +' +: +true } } '