aboutsummaryrefslogtreecommitdiff
path: root/include/tosa_serialization_handler.h
AgeCommit message (Collapse)Author
2022-07-06Bump schema version number to 0.31 draftEric Kunze
0.30 is released, future schema changes need a new version number. Change-Id: I812d6f2a2539b21f902990298bda570cb1166a42
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-13Update serializer version numberEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Id8ada4e2f0bcd2048c8bb9d0a20909c674bb637b
2021-11-18Add new interface to read flatbuffer from arrayAaron DeBattista
Change-Id: I2ed86545f457d55c919e3f47ef797e766d05334f Signed-off-by: Aaron DeBattista <aaron.debattista@arm.com>
2021-11-15Parse and check schema version when LoadSchemaFile()Kevin Cheng
- This is useful if user has two different copies of serialization_lib code, an incorrectly load the incompatible one. Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I0f241d2ddbb7188df030cc5dddaa6a0b5dad7a45
2021-11-11Clean up constructor interfaceKevin Cheng
- replace string type constructor argument with "const string&" - replace vector type constructor argument with "const vector<T>&" - add rvalue reference constructor for TosaSerializationOperator and TosaSerializationBasicBlock - add SetData() for TosaSerializationTensor, so tensor can be constructed first and data can be linked later Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I7c739df54c37b7ba69ebb6e5af118f660c7c0623
2021-11-03Increment version to 0.24.0 draftEric Kunze
Main branch is now 0.24.0 draft version. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I053fc2f87c05e3237c10a8d41b1833591087651a
2021-10-29Remove draft tag for 0.23 releasev0.23.0v0.23Eric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I928b5ebb90b148acddff4a1a6c9e05e1791196a8
2021-10-26Bring back TosaVersion structKevin Cheng
- check fails only when major/minor mismatches - dump warning if major/minor matches but patch/draft mismatches Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I0464f1018faa69b81fa93d42e51e1afd7412977a
2021-10-19Both serializer and schema carry version info nowKevin Cheng
- version number now encoded in serializer as well - rename experimental to draft - rename internal function from FreezeBuilder/InitWithBuf to Serialize/Deserialize Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I70cb07832fdf66c6bde3d18aadf1f3646765887e
2021-08-02Support I4 weights pack/unpack.Kevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ia7d2bfaa473c8a92c71f075c86aca0a275245f83
2021-06-24Constant data is embedded in flatbuffer as u8 array instead of saving out as ↵Kevin Cheng
separate numpy files now. Change-Id: I9d757ee3bdc637595732b06c5319d1dc957eaf96
2021-04-26Initial commit of serialization library codeEric Kunze
Change-Id: Ie09a7245176aa799e59622e5118b145833b23590 Signed-off-by: Eric Kunze <eric.kunze@arm.com>