webnn: fix issue in assertResultsEquals() method for conformance tests
This CL is to update assertResultsEquals()
method to correctly use
descriptor.dataType
to get expected dataType
, and use
descriptor.dimensions
to get expected dimensions
, since now the
expected outputs are of Map<String, {data: Array.<Number>|Number, descriptor: MLOperandDescriptor}>
.
And this CL also updated some relevant expected result files based on
this fixing.
Bug: 355577219
Change-Id: I8a53af8a275d68e59b7cd0f37ca6764da6aec5e4
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14-blink-rel,mac14.arm64-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5743754
Reviewed-by: Reilly Grant reillyg@chromium.org
Auto-Submit: Feng Dai feng.dai@intel.com
Commit-Queue: Reilly Grant reillyg@chromium.org
Reviewed-by: Austin Sullivan asully@chromium.org
Cr-Commit-Position: refs/heads/main@{#1336750}