aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-31Add tosa identification numbersexperimental/tf28_compatFrederick Liardet
Signed-off-by: Frederick Liardet <frederick.liardet@arm.com> Change-Id: Idc5668fb01dc8dd657beb911d2cb9295f9275ac6
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-09Remove unnessary operator.defKevin Cheng
Change-Id: I3c01981c044290f7f1c0000abea16fbbccb99375 Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
2021-11-06Avoid RTTI usageKevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I89faef7fea11b19b6c59fda1b271e9b2af95b372
2021-11-05Build flatbuffers into libtosa_serialization.aKevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ic148f17caba347e1b3969b15a9373f9be9e39174
2021-11-04Use pre-commit to catch out of date headersEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I65983e5ddee7e4b1870530c2fb947177f5d4ca48
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-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-10-27Changes for 0.23.0 releaseKevin Cheng
- Remove RELUN op - Add pad_const to PAD op - Make padding as an attribute of PAD op - Make perm as an attribute of TRANSPOSE op - Make table as attribute in Table op - Fix typo in operator.def Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ifcaa4ad686578cf814345ede8e7f37f0a04fd8ea
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-10-14Fix bug when serializing INT32 constant dataKevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I5321aedb5766dd1b38fa8251ffb84fa880d4ecd5
2021-10-11Move python-based serializer from reference_model.Kevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I5369f1543b8980ad690073102f4557e215269d3b
2021-09-02Add top level license.txtEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Id7e992a99247834025931393ba389bc633b7c17d
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
2021-08-23Rename DIV operator to INTDIVMatthew Haddon
* In line with the TOSA spec the DIV operator has been renamed INTDIV Signed-off-by: Matthew Haddon <matthew.haddon@arm.com> Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I17407dd50985d117e2e565ffb45afb3424e5a139
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-05-10Update serialization_lib to 0.22.0Kevin Cheng
- Remove IdentityN and Placeholder - Add Div Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I2f01fe8d37a6d1cabba2101283059cb6ed678ec2
2021-04-26Initial commit of serialization library codeEric Kunze
Change-Id: Ie09a7245176aa799e59622e5118b145833b23590 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2021-04-13Initial empty repositoryEric Kunze