aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-02-17Cleanup code warningsEric Kunze
Change-Id: Ia2a68d8fa9de12f85353d4828a93b05367d86353
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-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-07-08Allow reading numpy files with up to 10 dimensions.Jeremy Johnson
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id6ee2aab2dd62b44e72b60218e4f03dc9a933d10
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>