This project is mirrored from https://review.mlplatform.org/tosa/serialization_lib.
Pull mirroring updated .
- Apr 19, 2024
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: Icbc231ada16eeba38452c2c7cec8e66cf43d3c0e
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I786aca0a2f137cebd446a3a71c8d6fe186286957
-
- Apr 18, 2024
-
-
Suraj Sudhir authored
Change-Id: I1a52c596ea225355fe505f783d875a01023ff63e
-
- Apr 09, 2024
-
-
Tai Ly authored
This patch removes the "type" field from PadAttribute and ClampAttribute because they are unused and unneeded. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I378291b340ecee86824f25b3887aa4511207db23
-
- Apr 08, 2024
-
-
Tai Ly authored
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
-
- Apr 04, 2024
-
-
Jeremy Johnson authored
Numpy rank 0 files correctly written as shape () instead of (1) Constant tensors of rank 0 now have data written out Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ie4bad8f798674cdb0484955e9db684f7f4100145
-
- Mar 13, 2024
-
-
Tai Ly authored
This adds acc_type to ConvAttribute and TransposeConvAttribute Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I73bab71b2eb90f6451fadee21d5bed1811ecbfd7
-
- Mar 11, 2024
-
-
This patch implements following changes to attribute fields: - PadAttribute: delete padding field, replace pad_const_int and pad_const_fp fields by pad_const, a field of ubyte array - ClampAttribute: replace min_int, max_int, min_fp and max_fp fields by min_val and max_val, fields of ubyte arrays - RescaleAttribute: delete multiplier and shift fields Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I5b075d29677cffca9ff2292708141d48410e7e72
-
- Feb 27, 2024
-
-
Jerry-Ge authored
- If we save FP16 in FP32 containers, it will change byte representation - which causes wrong values after deserialization - Update the code to store F16 values in F16 containers Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I2ddea67471997c596980faea1419422d96bad60d
-
- Feb 22, 2024
-
-
Tai Ly authored
removed attributes for Reshape, Slice and Tile Ops renamed field accum_dtype to acc_type, renamed then_branch/else_branch to then_graph/else_graph renamed cond_branch/body_branch to cond_graph/body_graph Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I2001f19519987d9e64c18b1f11762f9d3b9be4ec
-
- Feb 20, 2024
-
-
Jerry-Ge authored
- Add Tosa Sin/Cos to the serialization_lib schema - Generated related header files with the new schema Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: If424ff2b64538e8ffd5342b6ebb9a022537d5c4c
-
- Feb 08, 2024
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I437ca381725248e7bb25e7086b7b43c7f1571fb8
-
- Feb 06, 2024
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ife50592890be020b6c6122581eeb2175c8f331e0
-
- Feb 02, 2024
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: Idd444ceb641993e2ed6b647505979ec9d5def796
-
- Jan 23, 2024
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I1ffa49f3e5437be6757a6a2788e9de1a2e99a92c
-
- Jan 12, 2024
-
-
Tai Ly authored
Added tosa shape ops to tosa.fbs also added convert I64 to and from U8 for storing const_shape data values Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I1e938dec7398fbcbe5be657dad65cdd61af5b597
-
- Jan 03, 2024
-
-
Eric Kunze authored
No functional changes Change-Id: I938fecc941b14c065639e27a110ab1feb7c85ba9 Signed-off-by:
Eric Kunze <eric.kunze@arm.com>
-
- Nov 21, 2023
-
-
James Ward authored
Signed-off-by:
James Ward <james.ward@arm.com> Change-Id: Ifc5445c7129abb914a6cef952e27fccf47ea6397
-
- Nov 16, 2023
-
-
Tai Ly authored
This adds local_bound to python attribute constructors for: ConvAttribute TransposeConvAttribute FFTAttribute RFFTAttribute Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I26ae8d718425e5563e281c44490348361c7d44b4
-
- Nov 13, 2023
-
-
Rob Elliott authored
Signed-off-by:
Rob Elliott <Robert.Elliott@arm.com> Change-Id: Ib052470d183db5a54a4cd26fc5df42e4c1bc5341
-
- Nov 09, 2023
-
-
Jerry-Ge authored
- CustomOp's two attribute names have been changed to - domain to domain_name - operator to operator_name Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I382ff2cf98da0487f096938c3693428e91dce386
-
- Nov 07, 2023
-
-
Davide Grohmann authored
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
-
- Nov 01, 2023
-
-
Eric Kunze authored
local_bound is used to determine when fast convolution algorithms can be used in implementing the operation. Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I9970a2544e90a620f46ac4d3d01cec90a15710a9
-
- Sep 21, 2023
-
-
Tai Ly authored
Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I6b3984fb3834d4ea82b38c54e30b0a59b23cef45
-
- Sep 19, 2023
-
-
Tai Ly authored
Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ia142c8b1a9e0869daefb3eef71100fd0c2a0effc
-
- Sep 18, 2023
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Icac013d42d88534dd1cd71ddb9f47e633a9b51d4
-
- Sep 15, 2023
-
-
Jerry-Ge authored
Change-Id: Iba6e06e1f40c2f2c2ca753787f0f57bae6e66747 Signed-off-by:
Jerry Ge <jerry.ge@arm.com>
-
- Sep 14, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I4163390599afbbc93b02e3e72b2fe0f53a0bcf06
-
- Sep 07, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I96202b90bff833654735a2f2306eb782d202b6e6
-
- Sep 06, 2023
-
-
Jerry-Ge authored
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I572ae70f8d693c89739ab892a31157235700c3f2
-
- Aug 23, 2023
-
-
Tai Ly authored
This adds a bool field, is_unranked to TosaTensor in tosa.fbs to indicate whether a tensor with shape = {} is an unranked tensor or an 0-D tensor. For older tosa files without this field, the default value is false. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I86950050b522565509863c483cd3a3c1c50f8f69
-
- Aug 22, 2023
-
-
- Add variable in TosaTensor to schema file - Update TosaSerializationTensor regarding variable change - Rename internal zero_pad() and expose interface as ForceAlignTensorData() Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I36fa64eb0802cb5b8d3564ea7233460ef8c9f539
-
- Aug 21, 2023
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I95e82ac2d7c6e412f6cda0c9ffb2fb94d25af1d2
-
- Aug 18, 2023
-
-
TatWai Chong authored
Not all compiler/linker can link the typed call side to the desired type of specialized template function without having explicit declaration in the header file. Dtype mismatch will happen during reading numpy file when wrong caller-callee pair linked. Change-Id: If97c2a12d9cb602e08c8c31e828f85577cf002e6 Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
- Aug 15, 2023
-
-
Rob Elliott authored
Change-Id: I591accec7cd8499bd793924a4e22eed2454f66ea
-
- Aug 14, 2023
-
-
Jerry-Ge authored
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I22e73e2aa9fbd54610fed776da9fbd09a4adae25
-
- Aug 12, 2023
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Iebeec3440fe6859e54d0d93de4cf7c704d2bcfe7
-
- Aug 10, 2023
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I7c68f94a088e206c99d34d152601cf342bff5541
-
- Aug 02, 2023
-
-
templatize these functions instead to reduce redundant code. Signed-off-by:
TatWai Chong <tatwai.chong@arm.com> Change-Id: Ie8b6f7d2b489c3508fea72481ce38f0db6d0c490
-
- Jul 27, 2023
-
-
Eric Kunze authored
The recent flatbuffers version updated requires a change in the serializer code Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I7f3e28af97cb9bc970811389102a3d5e33850838
-