This project is mirrored from https://review.mlplatform.org/tosa/serialization_lib.
Pull mirroring updated .
- Jul 31, 2025
-
-
Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I59ab797c91b99f1e7a8f8c4036c644aa7a240ff2
-
- Jul 28, 2025
-
-
Iliyan Georgiev authored
Signed-off-by:
Iliyan Georgiev <iliyan.georgiev@arm.com> Change-Id: I69d1b862a7baf2557216cb63d26402c9c6250534
-
Added cmake toolchain file Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I7da5a7db0440d60bf56feba058fda6efe6b270e8
-
- Jul 21, 2025
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I8457264e79916062701dae67dbe4d80ba7bfb98b
-
- Jul 20, 2025
-
-
Peng Sun authored
Signed-off-by:
Peng Sun <peng.sun@arm.com> Change-Id: I53a19ecdf875e8bf9d5cdc4b38e82b9050dcba78
-
- Jul 16, 2025
-
-
Philip742 authored
Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I268edd7acb42ce134857c5fd881680bf10166d96
-
- Jul 01, 2025
-
-
Peng Sun authored
Introduced a "Versioning" section describing the Calendar Versioning (CalVer) scheme used by the project. Change-Id: I98eb1b564e5aec7666065241e3257d917adcd2f2 Signed-off-by:
Peng Sun <peng.sun@arm.com>
-
- Jun 27, 2025
-
-
Iliyan Georgiev authored
Change-Id: Id138ef50db7db3ffb36be032bb61373c3fffe6cf Signed-off-by:
Iliyan Georgiev <iliyan.georgiev@arm.com>
-
- Jun 25, 2025
-
-
Jeremy Johnson authored
Change-Id: Ice8b10b8e7888829a402268ead52ee277a878c09 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Jun 24, 2025
-
-
- Update README with description on semantics - Update Usage section with new additions and semantics Change-Id: I44907b00270643326cb92ea140d41a40b72bb86e Signed-off-by:
Iliyan Georgiev <iliyan.georgiev@arm.com>
-
- Jun 23, 2025
-
-
Fixes test build on macOS Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I7a2d818c708f4d2d21f6d977a45eb5e08a62d4e0
-
Allow unsigned numpy arrays for the RESCALE op. Also replace hard-coded conversion from float8_e5m2 to uint8. Signed-off-by:
Madeleine Dunn <madeleine.dunn@arm.com> Change-Id: I20f7a096c86372959ec54d194acaf765f9931821
-
- Jun 16, 2025
-
-
Philip742 authored
Add instructions for building with MSVC Also update to match changes for all platforms: Remove reference to git submodules Remove separate flatbuffers build step Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: I7dba94a14c64290ee5f03ce3cf58e7887adc2766
-
- Jun 13, 2025
-
-
Yuvaraj Venkatesh authored
Change-Id: I3bdef8390b5080dbfe94a84026cd1902408eb524 Signed-off-by:
Yuvaraj Venkatesh <yuvaraj.venkatesh@arm.com>
-
- Jun 05, 2025
-
-
Yuvaraj Venkatesh authored
- Previously, SYSTEM was incorrectly applied to normal includes as well - Adjusted CMake to restrict SYSTEM usage to external dependencies (e.g., FlatBuffers) - Ensures project headers remain subject to warning checks and fixed all the warnings Signed-off-by:
Yuvaraj Venkatesh <yuvaraj.venkatesh@arm.com> Change-Id: I16a5c0e6b9ab4db5e623516210dbf9bddaea7be0
-
- Jun 04, 2025
-
-
Ian Tayler Lessa authored
We were adding an include target from a deprecated directory which can cause some systems that still have old files there to compile incorrectly. Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: I5122720c651033ecc4628769d8e68507c2a10604
-
- Jun 02, 2025
-
-
Ian Tayler Lessa authored
float16, bfloat16, fp8_e4m3 and fp8_e5m2 are now covered by the serialize -> deserialize unit tests. Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: I0a84490586a7e6e4b8190e76164f9d2ff23fd5d0
-
- May 30, 2025
-
-
Signed-off-by:
Eirene Vlassi Pandi <eirene.vlassipandi@arm.com> Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: I70b007a51ebf437e0b73f232567641fd13635476
-
- May 29, 2025
-
-
udaya-ranga authored
Signed-off-by:
Udaya Ranga <udaya.ranga@arm.com> Change-Id: Iba33ee9443283483a36a8b665dd714a803366bc9
-
- May 28, 2025
-
-
Tai Ly authored
This fixes addConst for shapes for lazy-data-gen mode where they must always be embedded in the graph. Signed-off-by:
Tai Ly <tai.ly@arm.com> Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ic6b94e487b3ee5e2de88587fb2f49ebc66a54f01
-
- May 21, 2025
-
-
Tai Ly authored
This adds TosaShape to tosa flatbuffer schema, to serialize values of tosa.shape type and add "shapes" to the TosaBasicBlock to hold an array of these tosa shapes. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ia84c7f90428d6cfe45b271ea380ee14f4a8a677a
-
- May 14, 2025
-
-
Yuvaraj Venkatesh authored
GCC 9.4 throws relocation errors when linking with -pie unless all objects are compiled with -fpie. To resolve this, replaced -pie with -fpie to ensure consistent position-independent code generation during both compilation and linking. Signed-off-by:
Yuvaraj Venkatesh <yuvaraj.venkatesh@arm.com> Change-Id: Idc4402b904e9c66f2b43771eb0140ed049b1c0f5
-
- May 13, 2025
-
-
Tai Ly authored
Adds properties "is_unranked", "is_variable" and "variable_name" to TosaSerializerTensor in tosa_serializer.py. these properties have been missing from the python api. Also added tests in tosa_single_tensor.py for (1) unranked and (2) variable intermediate tensors Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ie9d5da0e26eb401e7663a8fa91d563e1d5786855
-
Tai Ly authored
Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ied65eaaa3ccbe929afdce0263c5ba6112ca30761
-
Jeremy Johnson authored
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I84422b180325d587f55273cbf74b3f06cbc8ad98
-
Philip742 authored
Optional using cmake -DWARNINGS_AS_ERRORS=ON Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: Ibd94c90e15bbd1b362e489aff51c6243fb8f1578
-
- May 12, 2025
-
-
Ian Tayler Lessa authored
Previously our generated json files were the more flexible human-readable format that flatbuffers generates by default. Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: Id6184fbc4294f82a34be4c07daafadc3b61d8544
-
- May 09, 2025
-
-
Luke Hutton authored
This commit aims to fix the MacOS build of the serialization library by, more generally, ensuring unsupported linker flags are not supplied to the selected linker. Note: The "check_linker_flag" utility is used by this change which requires cmake >= 3.18, therefore, the minimum supported cmake version in this project has been bumped from 3.13.4 to 3.18. Signed-off-by:
Luke Hutton <luke.hutton@arm.com> Change-Id: I8434c1fb7237e011fa3df720de79e2053b8c9fbb
-
- May 08, 2025
-
-
Philip742 authored
Eliminate type conversion warning Implementation type is not guaranteed by C++ standard Signed-off-by:
Philip Wilkinson <philip.wilkinson@arm.com> Change-Id: Iaa6e9097f9d414baf8aa880ad0d15c7379314ce8
-
- May 02, 2025
-
-
- Updated save_npy to ensure that the array's dtype matches the expected storage type. - Revised load_npy to verify and convert the loaded arrays dtype to the expected internal type based on the provided TOSA DType. - Added a new STORAGE_MAP mapping TOSA DType values to their corresponding internal mldtypes and NumPy storage types. - Introduced get_tosa_dtype_mapping() to expose a user-friendly mapping of TOSA dtypes to internal and storage types. Signed-off-by:
Eirene Vlassi Pandi <eirene.vlassipandi@arm.com> Change-Id: I6be1446a01e2a9f0861766d1c0488627042eadce
-
- Apr 30, 2025
-
-
Ian Tayler Lessa authored
-fcf-protection=full is not compatible with aarch64 targets and -D_FORTIFY_SOURCE=3 was introduced in GCC 12, while we need to support older versions too. Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: I050c5d5d924b655c818a358f043c6a9679a95d6b
-
- Apr 28, 2025
-
-
Ian Tayler Lessa authored
Without it, make fails to redownload flatbuffers when changing between branches during development. It can only be set if the version of cmake is sufficiently high. Signed-off-by:
Ian Tayler Lessa <ian.taylerlessa@arm.com> Change-Id: I686d9995ca0b387867a48d871a2f6eca62422952
-
- Apr 24, 2025
-
-
Tai Ly authored
Add TosaSerializationOpInfo<Op> to op.h and use it in test_serialization_unit.cpp to make sure it is working correctly. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I9cd08a20f929cbd2bba5754749e1300eb5c28a3e
-
- Apr 10, 2025
-
-
Jeremy Johnson authored
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I610b641192c0119fd58286d5b0a01e8618b9b59c
-
- Apr 09, 2025
-
-
regenerate_headers.sh & pytest tests expect to find flatc and (in the latter case) reflection.fbs in a particular location in the source tree. Signed-off-by:
Michael Platings <michael.platings@arm.com> Change-Id: Ide69e5cf75a7a33cdc022776e9e3fa3d73662e9a
-
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Idcb833e261d7507db96b6009a7a863aeca9431e2
-
- Apr 08, 2025
-
-
udaya-ranga authored
Signed-off-by:
Udaya Ranga <udaya.ranga@arm.com> Change-Id: Idc0e2092bdfea7773fcae61329d12e5c6a6483c6
-
- Apr 04, 2025
-
-
Yuvaraj Venkatesh authored
Change-Id: Idc02d2c422cefc122a57a2344fc8468ae13375a8 Signed-off-by:
Yuvaraj Venkatesh <yuvaraj.venkatesh@arm.com>
-
Use CMake's FetchContent feature instead, the same as is already done for GoogleTest. Signed-off-by:
Michael Platings <michael.platings@arm.com> Change-Id: Idc08297a3e8dac3da978e5d537b1e6d04279a070
-
- Apr 01, 2025
-
-
Tai Ly authored
remove UINT8 and UINT16 from DType in tosa.fbs schema Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Idcb285326748f37ed36ca116d8db5215d8c4a399
-