Visible to Intel only — GUID: GUID-047073E0-C259-400B-B31E-8B3436F40ADB
Visible to Intel only — GUID: GUID-047073E0-C259-400B-B31E-8B3436F40ADB
BiasAdd
General
Add bias to channel dimension of input. This is a special Add with bias restricted to be 1-D. Broadcasting is supported.
Operation attributes
Attribute Name |
Description |
Value Type |
Supported Values |
Required or Optional |
---|---|---|---|---|
Controls how to interpret the shape of src and dst . |
string |
NCX , NXC (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 |
Required |
1 |
bias |
Required |
Outputs
Index |
Argument Name |
Required or Optional |
---|---|---|
0 |
dst |
Required |
Supported data types
BiasAdd operation supports the following data type combinations.
Src |
Bias |
Dst |
---|---|---|
f32 |
f32 |
f32 |
bf16 |
bf16 |
bf16 |
f16 |
f16 |
f16 |