Skip to content

Commit

Permalink
Bug 1935775 [wpt PR 49575] - webnn: implement lstm in coreml, a=testonly
Browse files Browse the repository at this point in the history
Automatic update from web-platform-tests
webnn: implement lstm in coreml

lstm requires weights and bias to be constants and they have different
shapes compared to webnn spec. So the weight serialization needs to be
changed to be done lazily.

For all weights and biases, if it's bidirectional, they are splitted
to two weights(with extra transposes and reshapes). Additionally bias
and recurrent_bias are combined to a single bias param.

Change-Id: I5881ff4a0618e5a9584d39099faa6ac30f4570e7
Bug: 360052663
Cq-Include-Trybots: luci.chromium.try​:mac14.arm64-blink-rel,mac15-blink-rel,mac15.arm64-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6071582
Reviewed-by: Austin Sullivan <asullychromium.org>
Commit-Queue: Phillis Tang <phillischromium.org>
Cr-Commit-Position: refs/heads/main{#1393164}

--

wpt-commits: 37fd4ed8aafa77d781b2ea38a35c17b2b84183f6
wpt-pr: 49575

UltraBlame original commit: bc7b9d23436a413ccd6029eefa9bb1b52cf2b7f5
  • Loading branch information
marco-c committed Dec 13, 2024
1 parent 6a80f15 commit 5bc470f
Showing 1 changed file with 106 additions and 53 deletions.
Loading

0 comments on commit 5bc470f

Please sign in to comment.