aboutsummaryrefslogtreecommitdiff
path: root/python/tosa/PoolAttribute.py
AgeCommit message (Collapse)Author
14 daysUpdate flatbuffer to v24.3.7Tai Ly
Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I9ab0e8ab4e3c37f1dd135b57661b25e18a5df5cb
2024-02-22[serialization_lib] Align to Tosa SpecTai Ly
removed attributes for Reshape, Slice and Tile Ops renamed field accum_dtype to acc_type, renamed then_branch/else_branch to then_graph/else_graph renamed cond_branch/body_branch to cond_graph/body_graph Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I2001f19519987d9e64c18b1f11762f9d3b9be4ec
2023-07-18Update to use GenTextTai Ly
changed GenerateText to GenText, with reversed return polarity. updated flatbuffer to v23.5.26, and regenerated headers Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I7278dfe9c7b55b9afbe2329e3058b63a1cdce586
2022-10-04FP16 support in serializationJames Ward
* Allow serialization of fp16 data * Add package to support integrated half data-type (half_float::half), independent of native float: http://half.sourceforge.net/ * Allow passing of accumulate data-type in serialization Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I54357f02e3776d81958228f699ea5044f2014f4b
2022-09-13Update serialization lib to flatbuffers 2.0.6Eric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I64ac03a2fa8711c2050efd5fedbc34a4c2a67bd5
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-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
2021-11-16Update flatbuffer to v2.0.0Kevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ia09cb04a06015dd196d006a91a8c83924ff1b0c7
2021-10-29Remove copyright notice from generated headersEric Kunze
Copyright has not changed, it is governed by the LICENSE.txt in the root directory of the project. This avoids the need for manual updates of the generated headers. Change-Id: I4a877125dcd0510eb449bef22b1b16297bfaa190 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2021-08-31Adding Conv attribute to Conv3d.Kevin Cheng
- Rename attribute: Pool2d, Conv2d, TransposeConv2d -> Pool, Conv, TransposeConv Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: If47dfd1ffc57843018d81d674e4386212fd8d4b4