aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-10Update RESIZE descriptionEric Kunze
Try to make the different modes clearer, especially the integer BILINEAR mode. Change-Id: I6a2ab6ee4ed9e6a76d13bec4498e213a7f20b91f Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2020-11-10SCATTER: Add operationDominic Symes
Add the scatter operation to the gather/scatter section. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I9baaef91bf70eae3b13e6e585df6c4821a0c1a93
2020-11-06GATHER: Add operation codeDominic Symes
Add the operation code for GATHER and reduce number of arguments. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I51b6ede43dcae1e1aec7a11a75a1e4bf6c668673
2020-11-06Operator argument consistency improvement.Eric Kunze
Add values attribute to CONST operator. Remove stale references to input tensor 0 and 1. Remove out_t types where in and out are guaranteed to be the same type. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I75a8eb4dee67afbee3652d9e937aa0b82318dbd0
2020-11-05Fix output argument type for convolutionsEric Kunze
Was out_t, which wasn't in the data types table. Switch to acc_t, the size of the accumulator, which is the output type for the convolutions. Also added some types into the pseudocode to clarify what types variables are. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I210220199c2d39b16938094022339286df040545
2020-11-05Clean input argument rank limitationsEric Kunze
Comparison ops, similar to the other elementwise ops, can operate on tensors of any rank. For those operators with rank limitations, make them consistent and remove "dims". Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I33eb00122cec4c6625f080f9ed640f1d874fae87
2020-11-03Add int48 to supported number formatsEric Kunze
Currently only enabled for the accumulator of a convolution and the input to a RESCALE. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ic5474124b4a8735f12ef9c20c2be48e55767a3fc
2020-11-03Change weights to input for training profileEric Kunze
Weights remain as an attribute for inference profile devices. Change-Id: I1cdbbd2ccd95fc1b7afc0f05a1425fb53560b432 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2020-10-29TABLE: Usage clarificationsDominic Symes
Clarify how the TABLE operator can be used in pratice to generate int8 to int8 and int16 to int16 lookup operations. Change-Id: I97154bb8cea46ab1fe48bf1cda615ff164130645 Signed-off-by: Dominic Symes <dominic.symes@arm.com>
2020-10-28RESIZE: Add float typeDominic Symes
Add floating point as an allowed data type for RESIZE. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I01766edabe922d395175356387ea325bfc301fd3
2020-10-28MUL: Add right shift on 32x32 multiplyDominic Symes
The result of 32x32 elementwise multiply exceeds the int32_t result type range. This change adds a right scaling shift argument to shift down the result. Change-Id: I6ae17e6dc3fe342d052304533158ad2d0e7bb7be Signed-off-by: Dominic Symes <dominic.symes@arm.com>
2020-10-27ARITHMETIC_RIGHT_SHIFT: Add roundingDominic Symes
Add rounding mode to shift right and clarify that shift values cannot be negative. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I7995c8dfa6f16f9ca4dcbf5241692fcd940e509b
2020-10-22Make rank() consistent across filesDominic Symes
Complete the function naming change from dimensions() to rank(). Fix MATMUL to use apply_add() for additions, consistent with the other operations. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I6ba84cf8b016505e8477b04dd00f2a2bf3194492
2020-10-16Use rank() instead of dimensions() in pseudocodeEric Kunze
rank() is consistent with the rest of the specification. Also add a bit of whitespace in the pseudocode for easier reading. Fix one typo. Change-Id: Ifa794b2c332cb70cd52a141d9af219e26bd3dca0 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2020-10-14Updates to reduction and reverse operationsDominic Symes
Simplify the reduction and reverse reference by apply one axis at a time and default to keep_dims. (Changes to shape can be done separately with RESHAPE) Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I590bdb6bc05b1c673f86e3f45f0a43536d8f362a
2020-10-12Add new README.md fileEric Kunze
Contains build requirements and short instructions. Change-Id: Id2cc62b4a88adab53b0c7314e64221936c6d55dc Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2020-10-12Fix errors in RESIZEDominic Symes
Fix typing errors in the resize operation and simplify the assert checking. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: If12b9e54a6e9f84f0d6122be7d4a4b567fd81e0f
2020-10-08Fix ordering of operatorsEric Kunze
REDUCE_ANY/ALL PLACEHOLDER/IDENTITY* Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I3436a91b8137fa4fce9b8c2027cd669cfbdcd539
2020-10-01TOSA spec 0.20.0, initial public versionv0.20.0Eric Kunze
Change-Id: I7c528ebf7e78759ada4bb951b2471c367d3f4525
2020-10-01Initial empty repositoryEric Kunze