Visible to Intel only — GUID: GUID-03C1CEAC-C44B-48D0-B053-96800FB513D7
Visible to Intel only — GUID: GUID-03C1CEAC-C44B-48D0-B053-96800FB513D7
Subtract
General
Subtract operation performs element-wise subtraction operation with two given tensors applying multi-directional broadcast rules.
Operation attributes
Attribute Name |
Description |
Value Type |
Supported Values |
Required or Optional |
---|---|---|---|---|
Specifies rules used for auto-broadcasting of src tensors. |
string |
none , numpy (default) |
Optional |
Execution arguments
The inputs and outputs must be provided according to below index order when constructing an operation.
Inputs
Index |
Argument Name |
Required or Optional |
---|---|---|
0 |
src_0 |
Required |
1 |
src_1 |
Required |
Outputs
Index |
Argument Name |
Required or Optional |
---|---|---|
0 |
dst |
Required |
Supported data types
Substract operation supports the following data type combinations.
Source0/1 |
Destination |
---|---|
f32 |
f32 |
bf16 |
bf16 |
f16 |
f16 |