Age | Commit message (Collapse) | Author |
|
Signed-off-by: Won Jeon <won.jeon@arm.com>
Change-Id: I7c68f94a088e206c99d34d152601cf342bff5541
|
|
templatize these functions instead to reduce redundant code.
Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Change-Id: Ie8b6f7d2b489c3508fea72481ce38f0db6d0c490
|
|
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
|
|
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I3be64f4e2b7bad57f2c9c0d946434daa5330bf2b
|
|
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: Ic6b43539fcb2d75c5614d3addccd24a06e9f2a31
|
|
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: I512181cca1a3b1ed5d9a5435dbf11d7efcdbc2a5
|
|
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: Icd865b03765f672e3aa28ddaf6a290617ec3f530
|
|
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: Icc023cbe6aa8843cc37d25e740bc6ce05bb7abb2
|
|
* For Clamp/Pad float attributes
* Necessary for the outputs from Python and C++ code to be consistent
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I41530aa1805968becd861e4dee190a88d1973cec
|
|
* 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
|
|
- 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
|
|
* 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
|
|
Can't assume that the boolean is represented as 8-bits.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ic7bbf6dc92f243f9c4cf0bb606dde127ba8684e3
|
|
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>
|
|
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
|
|
Change-Id: Ia2a68d8fa9de12f85353d4828a93b05367d86353
|
|
Change-Id: I2ed86545f457d55c919e3f47ef797e766d05334f
Signed-off-by: Aaron DeBattista <aaron.debattista@arm.com>
|
|
- 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
|
|
- 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
|
|
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: Ia7d2bfaa473c8a92c71f075c86aca0a275245f83
|
|
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Id6ee2aab2dd62b44e72b60218e4f03dc9a933d10
|
|
separate numpy files now.
Change-Id: I9d757ee3bdc637595732b06c5319d1dc957eaf96
|
|
Change-Id: Ie09a7245176aa799e59622e5118b145833b23590
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
|