github web-platform-tests/wpt merge_pr_47132

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
14 months ago

webnn: add argmin/max on CoreML and add outputDataType

idl changes:

  • Added argmin/max input and output supported types to
    opSupportLimits. CoreML only allows int32 as output type. For tflite
    and dml, specifies to allow both int64 and int32.
  • Added outputDataType to MLArgMinMaxOptions that defaults to
    int32 as that's the type supported by all backends. Note previously
    the output type is int64, so this is a breaking change.

Changed to specify constructor for ContextProperties and
DataTypeLimtis as the member list grows and DataTypeLimits becomes a
complex struct.

Bug: 352314068
Change-Id: Idd86486e7b3a4b07c42aa917d4218ae1d3304e36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5692538
Reviewed-by: Reilly Grant reillyg@chromium.org
Reviewed-by: Alex Gough ajgo@chromium.org
Auto-Submit: Phillis Tang phillis@chromium.org
Commit-Queue: Phillis Tang phillis@chromium.org
Cr-Commit-Position: refs/heads/main@{#1327627}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.