Skip to content

Commit

Permalink
WebNN: Support notEqual operator
Browse files Browse the repository at this point in the history
This CL adds IDL and mojo definition of notEqual operator according to
the spec issue [1] and implements it on DirectML, CoreML and TFLite
backends.

This CL also fixes the implementation of element-wise binary in the
TFLite backend, where we missed to convert the output of some logical
operators (such as equal, greater and lesser etc.) from bool to uint8.

[1] webmachinelearning/webnn#375

Bug: 382526991,382527250,382526992
Change-Id: I1c782b030cf80e330f99fc0e6e7649d98c0a33d4
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac15.arm64-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6086505
Reviewed-by: Austin Sullivan <asully@chromium.org>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Commit-Queue: Bin Miao <bin.miao@intel.com>
Cr-Commit-Position: refs/heads/main@{#1405865}
  • Loading branch information
miaobin authored and sadym-chromium committed Jan 14, 2025
1 parent de81c6a commit 5df7a8d
Show file tree
Hide file tree
Showing 2 changed files with 538 additions and 0 deletions.
Loading

0 comments on commit 5df7a8d

Please sign in to comment.