This project is mirrored from https://review.mlplatform.org/tosa/tosa_mlir_translator.
Pull mirroring updated .
- Apr 19, 2024
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: Ie912b5f079cd2d30ffc345a05fec29713106c1a6
-
Won Jong Jeon authored
TF_REFSPEC: refs/changes/33/845833/5 Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Iac9487002d5360a8c19745ced16f352f13bbbb98
-
Suraj Sudhir authored
Change-Id: I0a96662eed0466cc2220f88522fb97d3ad221559 Signed-off-by:
Suraj Sudhir <suraj.sudhir@arm.com>
-
- Apr 15, 2024
-
-
Tai Ly authored
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
-
- Mar 19, 2024
-
-
Tai Ly authored
Add serializing/deserializing acc_type to/from ConvAttribute Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I20780056f467952eb8baf6f5e80d242df6f0b33f
-
- Mar 18, 2024
-
-
Tai Ly authored
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
-
- Mar 07, 2024
-
-
Tai Ly authored
This patch adjusts serialization/deserialization for ClampOp's new min_val/max_val attributes Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I67f275334fdc8996142b0c4541d55ef65ea66274
-
- Mar 06, 2024
-
-
Tai Ly authored
This patch is for RescaleOp multiplier/shift changing from attributes to inputs Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I2fe3aa3cd37134f36873240c92b387b9610e3f9d
-
- Mar 05, 2024
-
-
TatWai Chong authored
In the type conversion, zero integer is equal to `false`, and any non-zero integner evaluates to `true`. Change-Id: I78f395f8cfa17f77d72c4f18a65d9848c5811ddc Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
- Mar 01, 2024
-
-
TatWai Chong authored
Change-Id: I436912af95e4aef1b67b140079070168d158ff49 Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
- Feb 28, 2024
-
-
Jerry-Ge authored
- 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
-
- Feb 27, 2024
-
-
Tai Ly authored
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
-
- Feb 23, 2024
-
-
Tai Ly authored
This patch changes tosa resize op's scale/offset/border from attributes to inputs of tosa.shape type Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I04750e25f4b01067418eb6123201e845c00ce8d8
-
- Feb 22, 2024
-
-
Jerry-Ge authored
- 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
-
changes to serialization/deserialization due to removal of quantization attr in TOSA dialect Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I0903d2c1c62bc50822e6c08bb869ec135c986ff3
-
Note that the shift value only apply to i32 data tensor. Change-Id: I4368146d9e0cdc2243ff822f59489ef5b78148ec Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
- Feb 21, 2024
-
-
Tai Ly authored
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
-
- Feb 05, 2024
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I814c7edad659f82a4082b4b38b8ca151431843ad
-
- Feb 01, 2024
-
-
Tai Ly authored
Remove use of makeArrayRef because llvm has deprecated it Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ie53bc501d6be32fad9abfffb7ba70e523b3a41c6
-
- Jan 31, 2024
-
-
TatWai Chong authored
Change-Id: Ifcb33a238ae3acdab9c33e039fb05f45aeb4df1c Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
- Jan 30, 2024
-
-
Tai Ly authored
PadOp's padding input is now a tosa.shape type. Changed serialization of PadOp to not store padding as attribute. Changed deserialization of PadOp to not restore padding from attribute. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I8a622978ea184b8d2779d311adba629c1a0d1fbd
-
- Jan 18, 2024
-
-
Tai Ly authored
- 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
-
- Dec 02, 2023
-
-
Tai Ly authored
serialize/deserialize FP16 tensors and constants Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Iab75aeda45983f328796f9463a57c69e86ab8f3e
-
- Nov 27, 2023
-
-
James Ward authored
Signed-off-by:
James Ward <james.ward@arm.com> Change-Id: I8ac71800d922526aad0a7c351ad1943481208cc2
-
- Nov 15, 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: Ib9d032ed9c1a25e3740d9fc8e854369a71736329
-
- Nov 14, 2023
-
-
Tai Ly authored
Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I19b86b954574bebdcac42205c65a23e7e43acb72
-
- Oct 27, 2023
-
-
Tai Ly authored
This fixes deserialization for the change of MulOp shift attribute from I32 to I8 Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I29d8022caee94622a119648624246b09148e2bfd
-
- Oct 19, 2023
-
-
This patch fixes deserialization of Pad Op's padding input to have shape {rank(shape_1)/2, 2} Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ia9cee740b75985a5c605503ee4c97b9df220de0a
-
- Oct 16, 2023
-
-
Tai Ly authored
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
-
- Oct 11, 2023
-
-
Tai Ly authored
Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I86c2d39ff9e3f88dd25d5044f1d2d679e163cc1a
-
- Sep 14, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I58f5a4696343697cd0c6b9d5dc1494ddaa1a2376
-
- Sep 11, 2023
-
-
Eric Kunze authored
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
-
- Sep 07, 2023
-
-
Jerry-Ge authored
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I6ce5a917cada436f6a80e6d85e670d6cd44e01e9
-
- Aug 28, 2023
-
-
Tai Ly authored
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
-
- Aug 16, 2023
-
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Idf45f0a68f551039cc40a69d90aa5c53098bc238
-
- Aug 01, 2023
-
-
Tai Ly authored
Rename Tosa Div Op to IntDiv Op in serialization and deserialization Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Iec2d1c4f91a77485f2a61984962872a386f131cb
-
- Jul 26, 2023
-
-
Jerry-Ge authored
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Ice6bf731b4a6892e2b721bc8f8074a5f4e4f10fa
-
- Jul 24, 2023
-
-
Jerry-Ge authored
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I5d173daf4330d4c4761175a7bd2362cd0bf4b420
-
- Jul 21, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: Iae97d2827b697fb900a5f9ca8e47bc6904509ce7
-
- Jul 18, 2023
-
-
Tai Ly authored
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
-