Age | Commit message (Collapse) | Author |
|
serialization_lib
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I287fcda4e895ecfc35083d6cb02140a251c0deb5
|
|
Previously if the values were the default, they would not be written
to the file
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ibdf13d3ce672d3e8f062a7853d65a966ab5b0877
|
|
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I44b9fd37e8890bfec02c647857a43bcb6800da80
|
|
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: Icc023cbe6aa8843cc37d25e740bc6ce05bb7abb2
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ie139b262f7bd5966e72a3535ac2253e13d7b3604
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I2eb93e6e88ee358c9ec9562c3b4d876eb41cc38c
|
|
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: Ib53f093ce6ae72974193057f7c46edd784753e11
|
|
* Also add missing CustomAttribute.py (flatbuffers generated file)
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: Ib71847e03d622995dd86afcb6ec9ed2bc147ee7a
|
|
* Float attributes now serialized as uint8 vectors, but treated as floats at input/output to serialization
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I417b0fabe0ef11fea263fe937b57d49bbfdb00da
|
|
Signed-off-by: Luke Hutton <luke.hutton@arm.com>
Change-Id: I79b3684ae1cf24e71ec7098ed7db5be5bc2f6fb2
|
|
Change-Id: I4a1d7675b247efcf34aadd59eac17b966e3705af
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
|
|
- Rationale: add this fix to support constants access between multiple
blocks by another layer of abstraction called Region
- Changes:
- flatbuffers schema update, regenerate header files
- add TosaSerializationRegion for the handler
- other relevant fixes
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I4bb72503abfd629ae017d2f905184efbab244aa8
|
|
Change-Id: I6adfd59be1799fc004c9051daa409c902bc4bd1d
|
|
In preparation for release
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I58337a835b2afa47f80f27e4a0ebc70836a544ab
|
|
Change-Id: I98072019e3dbbf1eab0bc95f74a4546ed82519db
Signed-off-by: James Ward <james.ward@arm.com>
|
|
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I2cd6ae85f59fd62a62b7f03ae9667228b54e82db
|
|
* 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
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I64ac03a2fa8711c2050efd5fedbc34a4c2a67bd5
|
|
Change-Id: I34cc007cb9efc659fe772299217b9178cead9ce0
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I9ca5eb956b2ea7eb01e34ecbfb250748abdd0f04
|
|
In preparation for version 0.40 release
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I8c02f88bf8af7bdc6f23671bae057748f612e820
|
|
Attribute stride and shift are removed, and has new scale and border.
For serializing int16 attributes, add a new member vector container
and a building function to do so.
Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Change-Id: I6d101a37d294dcf0a4d5bbb6c64bfa3c49a98f9e
|
|
0.30 is released, future schema changes need a new version number.
Change-Id: I812d6f2a2539b21f902990298bda570cb1166a42
|
|
Preparing for v0.30 release
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I5426515f7cf0f83c9f606050969c94667f2dabb9
|
|
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>
|
|
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
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Id8ada4e2f0bcd2048c8bb9d0a20909c674bb637b
|
|
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
|
|
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>
|
|
The operators are pool, conv, reshape, slice, transpose, and table.
Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Change-Id: I425ab407e699159f75834f31ad2d48e206c71749
|
|
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ieab5c56db49549726dd5efb0d9b728713fc6f86a
|
|
Change-Id: I2ed86545f457d55c919e3f47ef797e766d05334f
Signed-off-by: Aaron DeBattista <aaron.debattista@arm.com>
|
|
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: Ia09cb04a06015dd196d006a91a8c83924ff1b0c7
|
|
- 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
|
|
- 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
|
|
Change-Id: I3c01981c044290f7f1c0000abea16fbbccb99375
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
|
|
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: I89faef7fea11b19b6c59fda1b271e9b2af95b372
|
|
Main branch is now 0.24.0 draft version.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I053fc2f87c05e3237c10a8d41b1833591087651a
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I928b5ebb90b148acddff4a1a6c9e05e1791196a8
|
|
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>
|
|
- 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
|
|
- 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
|
|
- 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
|
|
- Rename attribute: Pool2d, Conv2d, TransposeConv2d -> Pool, Conv, TransposeConv
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: If47dfd1ffc57843018d81d674e4386212fd8d4b4
|
|
* 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
|
|
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: Ia7d2bfaa473c8a92c71f075c86aca0a275245f83
|
|
separate numpy files now.
Change-Id: I9d757ee3bdc637595732b06c5319d1dc957eaf96
|
|
- Remove IdentityN and Placeholder
- Add Div
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: I2f01fe8d37a6d1cabba2101283059cb6ed678ec2
|
|
Change-Id: Ie09a7245176aa799e59622e5118b145833b23590
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
|