Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebNN: Define XNNPACK Node for transpose
This CL implements DefineXnnNodeForTranspose() method that defines XNNPACK Node for transpose MLOperator by xnn_define_static_transpose(). For unit tests, this CL implements TransposeTest of MLGraphXnnpackTest that checks the compute results of transpose operators. Bug: 1273291 Change-Id: Id93e9dcd00c95d5c885f4c334f98562bab9e19b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4092123 Reviewed-by: Jiewei Qian <qjw@chromium.org> Commit-Queue: Lisha Guo <lisha.guo@intel.com> Cr-Commit-Position: refs/heads/main@{#1116224}
- Loading branch information
Showing
6 changed files
with
190 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
third_party/blink/web_tests/external/wpt/webnn/transpose.https.any-expected.txt
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
third_party/blink/web_tests/external/wpt/webnn/transpose.https.any.worker-expected.txt
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
third_party/blink/web_tests/platform/win/external/wpt/webnn/transpose.https.any-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
This is a testharness.js-based test. | ||
PASS transpose float32 1D tensor default options / cpu / async | ||
PASS transpose float32 2D tensor default options / cpu / async | ||
PASS transpose float32 3D tensor default options / cpu / async | ||
PASS transpose float32 4D tensor default options / cpu / async | ||
PASS transpose float32 5D tensor default options / cpu / async | ||
PASS transpose float32 1D tensor options.permutation / cpu / async | ||
PASS transpose float32 2D tensor options.permutation / cpu / async | ||
PASS transpose float32 3D tensor options.permutation / cpu / async | ||
PASS transpose float32 4D tensor options.permutation / cpu / async | ||
PASS transpose float32 5D tensor options.permutation / cpu / async | ||
PASS transpose float32 1D tensor default options / gpu / async | ||
PASS transpose float32 2D tensor default options / gpu / async | ||
PASS transpose float32 3D tensor default options / gpu / async | ||
PASS transpose float32 4D tensor default options / gpu / async | ||
PASS transpose float32 5D tensor default options / gpu / async | ||
PASS transpose float32 1D tensor options.permutation / gpu / async | ||
PASS transpose float32 2D tensor options.permutation / gpu / async | ||
PASS transpose float32 3D tensor options.permutation / gpu / async | ||
PASS transpose float32 4D tensor options.permutation / gpu / async | ||
PASS transpose float32 5D tensor options.permutation / gpu / async | ||
Harness: the test ran to completion. | ||
|
Oops, something went wrong.