Skip to content

Commit

Permalink
Bug 1924933 [wpt PR 48637] - webnn: Make MLOperandDescriptor.shape a …
Browse files Browse the repository at this point in the history
…required dictionary member, a=testonly

Automatic update from web-platform-tests
webnn: Make MLOperandDescriptor.shape a required dictionary member

See webmachinelearning/webnn#758

Also removes the temporary support for passing "dimensions" which was
added in https://crrev.com/e7e99aa5

Bug: 365813262
Cq-Include-Trybots: luci.chromium.try​:mac14-blink-rel,win11-blink-rel
Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659
Reviewed-by: ningxin hu <ningxin.huintel.com>
Commit-Queue: ningxin hu <ningxin.huintel.com>
Auto-Submit: Austin Sullivan <asullychromium.org>
Cr-Commit-Position: refs/heads/main{#1369192}

--

wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec
wpt-pr: 48637

UltraBlame original commit: 9f95e773e94fb574ef3183aeac32974ee03e0cd9
  • Loading branch information
marco-c committed Oct 22, 2024
1 parent b760e78 commit 9279c8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,60 +22,6 @@ a
D
scalar
constant
without
presenting
dimensions
'
descriptor
:
{
dataType
:
'
float32
'
}
bufferView
:
{
type
:
Float32Array
byteLength
:
1
*
4
}
output
:
{
dataType
:
'
float32
'
shape
:
[
]
}
}
{
name
:
'
[
constant
]
Test
building
a
0
-
D
scalar
constant
with
empty
dimensions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,56 +22,9 @@ a
D
scalar
input
without
presenting
dimensions
'
name
:
'
input
'
descriptor
:
{
dataType
:
'
float32
'
}
output
:
{
dataType
:
'
float32
'
shape
:
[
]
}
}
{
testName
:
'
[
input
]
Test
building
a
0
-
D
scalar
input
with
empty
dimensions
shape
'
name
:
Expand Down

0 comments on commit 9279c8b

Please sign in to comment.