aboutsummaryrefslogtreecommitdiff
path: root/python/serializer/tosa_serializer.py
AgeCommit message (Collapse)Author
2022-06-16Remove the draft tag from the schema for v0.30v0.30.0v0.30Eric Kunze
Preparing for v0.30 release Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I5426515f7cf0f83c9f606050969c94667f2dabb9
2022-06-15Remove quantinfo typesEric Kunze
Any needed information has been moved into the attributes for each operator. This aligns with the structure of the attributes in the TOSA specification, and generally simplifies the code. Change-Id: I8243e91b09de1a9115f8af09c5e7def7e8f2866b Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2022-06-13Fix version number in python serializerEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I61ace20482da93bf01e1cf073785baf2b30973d2
2022-06-13Fix mistake in python serializerEric Kunze
With recent schema changes, Outpad -> OutPad Remove dilation from flatbuffer compatibility code Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ib1f63ddd4f483301b4b7cf17af2a4b25364cd35e
2022-06-13Remove dilation from transpose_conv2dEric Kunze
The specification does not have dilation for transpose_conv2d. Removed dilation from the attributes for transpose. Rename outpad to out_pad for transpose conv2d to align with specification Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ifb0fb7121a6bf33601420366ce86f2f0b56353de
2022-06-13Increment version to 0.25Eric Kunze
Also insert the TOSA file identifier in the flatbuffer. Reports a warning if the identifier is not present when loading. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I1cd4a9cc78e898ba5015e29be1c65cb640dd6a00
2022-06-07Change to flatbuffers 1.12 as the submoduleEric Kunze
The code should be compatible with both flatbuffers 2.0 and 1.12 through try/except blocks. Generally other projects seem to still be using 1.12, so move the submodule back to 1.12 for maximum compatibility. Change-Id: I9733c7df0a7e4226f87473e19e48d3a80a3db6c6 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2022-06-07Align the serialization schema with TOSA 0.24.0 specificationTatWai Chong
The operators are pool, conv, reshape, slice, transpose, and table. Signed-off-by: TatWai Chong <tatwai.chong@arm.com> Change-Id: I425ab407e699159f75834f31ad2d48e206c71749
2022-05-26Add support for uint16_tJeremy Johnson
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ieab5c56db49549726dd5efb0d9b728713fc6f86a
2022-01-06Add python package supportJeremy Johnson
Move tosa_serializer into its own namespace Fix up for pre-commit black/flake8 Remove import dependency on reference model Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I8693fb7c00d224142a66dcb19eac74ac77c6224b