aboutsummaryrefslogtreecommitdiff
path: root/third_party
AgeCommit message (Collapse)Author
4 daysUpdate main branch version to 1.1.0 draftHEADmainEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I6fffba0a12be502240eca79c928f3300cc54fc34
9 daysUpdate serialization lib to 1.0.0 draft versionv1.0.0-rc0v1.00Eric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ie912b5f079cd2d30ffc345a05fec29713106c1a6
9 daysUpdate serialization_lib submoduleWon Jeon
TF_REFSPEC: refs/changes/33/845833/5 Signed-off-by: Won Jeon <won.jeon@arm.com> Change-Id: Iac9487002d5360a8c19745ced16f352f13bbbb98
10 days[tosa-mlir-translator] Remove TRANSPOSE_CONV2D out_shape argumentSuraj Sudhir
Change-Id: I0a96662eed0466cc2220f88522fb97d3ad221559 Signed-off-by: Suraj Sudhir <suraj.sudhir@arm.com>
13 days[tosa_mlir_translator] Fix fp16, bf16 and fp8 serializationTai Ly
Fix serialization and deserialization of fp16, bf16 and fp8 for pad_const, clamp min_val/max_val, and const values Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: Ia39a17d2f395584d5555d2c86cdae7113cf14e3f
2024-03-19[tosa_mlir_translator] Add acc_type to conv opsTai Ly
Add serializing/deserializing acc_type to/from ConvAttribute Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I20780056f467952eb8baf6f5e80d242df6f0b33f
2024-03-17[tosa_mlir_translator] Use new Clamp and Pad fbs attributesTai Ly
This implements changes required for new Tosa Flatbuffer schema where Clamp and Pad attributes have changed to use ubyte arrays to store int or float values. Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I2aa2025422fda4aacaf6d80727060a01a30cee89
2024-02-28Update ConstructConstAttr for FP16 caseJerry Ge
- With the update of ConvertU8toF16 to store F16 data in - F16 containers instead of F32, need to update the - function caller to have updated signatures Signed-off-by: Jerry Ge <jerry.ge@arm.com> Change-Id: Idfb99f238cdc32d4f0a9796e8aa3d4be8038f4c2
2024-02-27[tosa_mlir_translator] tosa.fb name changesTai Ly
This patch implements attribute name changes in tosa serialization library to align with tosa spec. Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I575e4601f12aee67ec6e3114c68a428b8db9d232
2024-02-22Add Tosa Sin/Cos operatorsJerry Ge
- Add Tosa Sin/Cos operators to the tosa_mlir_translator - Update thirdparty/serialization_lib hash Signed-off-by: Jerry Ge <jerry.ge@arm.com> Change-Id: Iea24913d3b295f5ca9fc50488b963e0ab54b11bd
2024-02-21[tosa_mlir_translator] Add FP8 supportTai Ly
Add serialization and deserialization support for FP8 data types. Also, added deserialization support for BF16 constants. BF16 and FP8 constants are serialized and deserialized as F32 values. Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I919acd82dc5e0b85024b6403d9623eaa26151aef
2024-02-05Update serialization lib version to 0.100.0 draftv0.100a0Eric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I814c7edad659f82a4082b4b38b8ca151431843ad
2024-01-18[tosa_mlir_translator] Add Shape Ops SupportTai Ly
- Add serialization/deserialization of tosa shape ops. - Changed TileOp's multiples from attribute to shape input. - Change 'shape' attribute of RESHAPE to an input Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I4329e621fd7637b1a3491c195fbda77d2a0ad23a
2023-11-15Update CustomOp's attribute nameJerry Ge
- 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: Ib9d032ed9c1a25e3740d9fc8e854369a71736329
2023-11-14[tosa_mlir_translator] Add local_bound supportTai Ly
Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I19b86b954574bebdcac42205c65a23e7e43acb72
2023-10-16Implement deserialization of stateful opsTai Ly
This patch implements deserialization of variable, variable.read and variable.write ops. The variable ops are deserialized before the function. Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I029bdf087576e97cacab469386863e6d1baf855c
2023-09-13Update serialization library to 0.90 draftEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I58f5a4696343697cd0c6b9d5dc1494ddaa1a2376
2023-09-11Update to handle unsigned attributes for RESCALEEric Kunze
Check the operand data types to determine whether the RESCALE is operating on signed or unsigned values for the signless type. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ie6fb4f4c128598dccefdded10774a0af0238eede
2023-08-28[tosa_mlir_translator] Support dynamic tensorsTai Ly
This adds serialization and deserialization support for: - unranked tensors (eg, *xi32) and - tensors with dynamic shapes (eg, ?x?xi32) Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: Ib2943333d8e3a199cf8a909b6db7197150666700
2023-08-16Add DIM operator and its serialization/deserialization to TOSA MLIR translatorWon Jeon
Signed-off-by: Won Jeon <won.jeon@arm.com> Change-Id: Idf45f0a68f551039cc40a69d90aa5c53098bc238
2023-07-18Add deserialization of AccumTypeTai Ly
Added deserialize accum_type attribute for AvgPool2D Op also fixed serialization of accum_type attribute for AvgPool2D Op also updated third_party/serialization_lib hash LLVM_REFSPEC: refs/changes/23/532123/2 TF_REFSPEC: refs/changes/34/699334/5 Signed-off-by: Tai Ly <tai.ly@arm.com> Change-Id: I2084f33e60d1bf8f76958b320a96fc1f3a94d95c
2023-06-02Update to 0.80.0 draft serialization libraryEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I82f52fc3da7d6ea873c4822bb7089bf90ce10208
2023-05-25Update serialization library to 0.70 releasev0.70.0v0.70Eric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I5a8df06bc07718e6245bf2b1739bba1e26d54b4a
2023-05-25Update to latest serialization submoduleEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I7e43e5f967e846ef7a56064e2f1ce5a19939ac26
2023-03-16Update serialization library to 0.70.0 draft versionEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ib156f187a034f0d7c485cec755c51ddca773a752
2023-03-08Update serialization library to 0.60 versionv0.60.0Eric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I2919607a4a625dd0fabab176b9452e21e937563b
2023-03-07Added half library to include pathDmitriy Smirnov
Change-Id: Ibd6b17cf38ff29ead307d180c45afed199cb525a Signed-off-by: Dmitriy Smirnov <dmitriy.smirnov@arm.com>
2023-02-08Remove accum-dtype from all but avg_pool2d & remove zero padJames Ward
* Remove zero pad from float attribute serialization * Remove accum-dtype from tensor ops to match specification Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I36e179fa0736f34f2c34309d8372d1cf3ab3c763
2023-01-24Update to latest serialization libraryJeremy Johnson
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I1563147809ec14e45dee759a14ff9b8f1078d865
2023-01-12Add RegionBuilder to TOSA MLIR TranslatorJerry Ge
Rationale for making this change: - The original design only supports a single basicBlock which is no longer functionaly enough to support Control Flow operators like WhileOp or IFOp - Added another layer of abstraction of Region to support multiple basicBlocks + other corresponding fixes - There are other companion patches to make the above proposal work - Serialization Lib: Add TosaSerializationRegion to serialization_lib - Reference Model: Reference model update for control flow Signed-off-by: Jerry Ge <jerry.ge@arm.com> Change-Id: Ic7eec3c32da87d409819365ba2dc7ef8b9619db4
2022-12-07Update to serialization version 0.51.0 draftEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ifd50d2b158784ce566ba7c8009842f62e9361628
2022-12-05Update serialization library submodule to 0.50v0.50.0v0.50Eric Kunze
In preparation for 0.50 release Change-Id: I2a66e5c68ba7f23334e5a542e16ee5336a1ae3de
2022-10-13Rename FLOAT type to FP32Jeremy Johnson
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I5e45381c8b573d18c2e3241742c663623961c4d6
2022-10-11Updates to work with the new FP16 serialization codeEric Kunze
Adds accumulator data type where needed, and incorporates the new submodule Change-Id: Ice1d5508bd94812b0092e6a6238abb14f1bbc399 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2022-09-14Update to new serialization libEric Kunze
Also includes fixes for more recent LLVM (verified with LLVM commit 72142fbac496) Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I00a2cc4360731d5e63f129dfff9228e30aeedb36
2022-09-12Update serialization lib version to 0.41 draftEric Kunze
Change-Id: Ia1c627c2f6dc6f7e7d4dc4530bacfdaaf7d058be Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2022-08-30Update to revision 0.40.0v0.40.0v0.40Eric Kunze
Include the new version of the serialization library Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ibffc81cd20aad50836f574375768ff8777ea280b
2022-08-04Update TOSA resize to match specificationTatWai Chong
Attribute stride and shift are removed, and has new scale and border. Signed-off-by: TatWai Chong <tatwai.chong@arm.com> Change-Id: Id34072deb46ffce642530cc7499eb777cf9b82fc
2022-07-08Update serialization_library submodule hashEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I3afe5429b9c5121cd80309e3d55f61c0da9526d9
2022-06-16Update to the latest serialization library for releasev0.30.0v0.30Eric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ia6653d960c8ae5407f098c476fbaf6287a321c82
2022-06-15Remove quantization infoEric Kunze
This adapts the mlir-translator to the updated serialization library which does not have quantization attributes in the schema. Change-Id: I321845c735426b2325590e0241e67242c31064a5 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2022-06-13Remove dilation serialization for transpose_conv2dEric Kunze
It does not exist in the specification, removing from serialized form Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I496e1d4906b3ba1b9e00a1adef4ff3e7bab3d8ba
2022-06-07Update tosa-mlir-translator to latest serialization libEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: If42a1c861fd9e811124d3f878fa1b38f5acac006
2021-11-15First commit of tosa serialize passesKevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I1551017706f6e8af604792f48cdeb49b4da7ef0d