Age | Commit message (Collapse) | Author |
|
- Implement convert_schema_to_header.py to convert tosa schema file to
tosa_schema.h
- Enable loading tosa schema directly from a string from the header file
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: Iafcccf2a03fd8968acd2d12c0081e85c10a91ef4
|
|
Adding a framework for unit testing. Tests are run with the "ctest"
command in the /build directory after building.
Signed-off-by: Kaushik Varadharajan <kaushik.varadharajan@arm.com>
Change-Id: Ibdc5a90de6284d2118124dab561b5ba0183cf32c
|
|
Signed-off-by: Won Jeon <won.jeon@arm.com>
Change-Id: I786aca0a2f137cebd446a3a71c8d6fe186286957
|
|
Adds type to PadAttribute and ClampAttribute so their pad_const
and max_val/min_val can be deserialized according to type
Adds conversion functions of U8 arrays to/from BF16/FP8 values
Also, refactor and expose TosaSerializer.convertDataToUint8Vec
for converting dtype/data to uint8 list for serialization
And modify convertDataToUint8Vec to serialize bf16 values into
2 bytes each, and serialize fp8 values into single bytes each.
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: I05659e8187c76d359f1cc9f71c8c23cafd0e877f
|
|
Before this change the only way to build the serialization_lib was to
have the flatbuffers lib pre-built before calling cmake or to allow
serialization_lib to build its own flatbuffers library. This commit
make sure that you can build serialization_lib as part of the cmake
build that builds flatbuffers (not in advance) by checking that
flatbuffers is in the TARGET list. In that case it is simply linked
by the serialization_lib library.
Signed-off-by: Davide Grohmann <davide.grohmann@arm.com>
Change-Id: I5a9d5f263ccfb36273977d6e6a2c8083598b0afb
|
|
Too simple, did not provide much testing value
Change-Id: I35b388ebae8d43d901781f4eefa20c6b83b96456
|
|
* 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
|
|
* Add option to disable building test executables.
* Add option to specify an external source of Flatbuffers library.
* Allow third_party/flatbuffers to contain either source or
prebuilt package.
* Remove default STATIC and rely on cmake's BUILD_SHARED_LIBS.
* Add PUBLIC_HEADERS to install target.
* Specify use of GNU installation directory norms.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I780c3345b9e55ec7928b917648174c33fe29e7fb
|
|
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: Ic148f17caba347e1b3969b15a9373f9be9e39174
|
|
Change-Id: Ie09a7245176aa799e59622e5118b145833b23590
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
|