-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[oneDNN Graph] align with oneDNN v3.2 public release (#486)
* fix wrong argument names * add new select op and boolean data type * add Pow op in onednn graph
- Loading branch information
1 parent
e0eabad
commit da2fcac
Showing
32 changed files
with
386 additions
and
224 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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.. SPDX-FileCopyrightText: 2023 Intel Corporation | ||
.. | ||
.. SPDX-License-Identifier: CC-BY-4.0 | ||
.. include:: ../../replacements.inc.rst | ||
|
||
Pow | ||
### | ||
|
||
## General | ||
|
||
Pow operation performs an element-wise power operation on a given input tensor | ||
with a single value attribute beta as its exponent. It is based on the following | ||
mathematical formula: | ||
|
||
.. math:: | ||
\dst_i = \src_i ^ \beta | ||
## Operation attributes | ||
|
||
+--------------+----------------+------------+--------------+-------------+ | ||
| Attribute | Description | Value Type | Supported | Required or | | ||
| Name | | | Values | Optional | | ||
+==============+================+============+==============+=============+ | ||
| |attr_beta| | exponent, | f32 | Arbitrary | Required | | ||
| | :math:`\beta` | | f32 value | | | ||
| | in the | | | | | ||
| | formula. | | | | | ||
+--------------+----------------+------------+--------------+-------------+ | ||
|
||
Inputs | ||
====== | ||
|
||
|
||
===== ============= ==================== | ||
Index Argument Name Required or Optional | ||
===== ============= ==================== | ||
0 ``src`` Required | ||
===== ============= ==================== | ||
|
||
Outputs | ||
======= | ||
|
||
|
||
===== ============= ==================== | ||
Index Argument Name Required or Optional | ||
===== ============= ==================== | ||
0 ``dst`` Required | ||
===== ============= ==================== | ||
|
||
Supported Data Types | ||
******************** | ||
|
||
Pow operation supports the following data type combinations. | ||
|
||
==== ==== | ||
Src Dst | ||
==== ==== | ||
f32 f32 | ||
bf16 bf16 | ||
f16 f16 | ||
==== ==== |
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
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
Oops, something went wrong.