Feature Scope
Data Types
src Data Type |
dst Data Type |
|---|---|
f32 |
f32 |
f16 |
f16 |
bf16 |
bf16 |
s32 |
s32 |
s8 |
s8 |
u8 |
u8 |
Data Layout
1D to 5D tensors are supported. The following data layout formats are supported. The layout of input and output tensors must be the same.
Tensor Dimension |
src0/src1 Data Layout |
dst Data Layout |
|---|---|---|
1D |
a |
a |
2D |
ab,ba |
ab,ba |
3D |
abc,acb,bac,bca,cab,cba |
abc,acb,bac,bca,cab,cba |
4D |
abcd,abdc,acbd,acdb,adbc,adcb,bacd,bcda,cdab,cdba,dcab |
abcd,abdc,acbd,acdb,adbc,adcb,bacd,bcda,cdab,cdba,dcab |
5D |
abcde,abced,abdec,acbde,acdeb,adecb,bacde,bcdea,cdeab,cdeba,decab |
abcde,abced,abdec,acbde,acdeb,adecb,bacde,bcdea,cdeab,cdeba,decab |
Parent topic: Binary