webnn: add argmin/max on CoreML and add outputDataType
idl changes:
- Added argmin/max
input
andoutput
supported types to
opSupportLimits
. CoreML only allows int32 as output type. For tflite
and dml, specifies to allow both int64 and int32. - Added
outputDataType
toMLArgMinMaxOptions
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}