This project is mirrored from https://review.mlplatform.org/tosa/tosa_mlir_translator.
Pull mirroring failed .
Last successful update .
Last successful update .
- Mar 21, 2024
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I89ae9523f2f266dd30c6e5cd44e35648ae2c87d9
-
- 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
-
- Jul 14, 2023
-
-
Tai Ly authored
This fixes previously introduced bug where the input_zp was dropped from the PadOp serialization. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I42fec4a2cdad0ab1ea3cc2f188c4f4c4467583b0
-
- Jul 12, 2023
-
-
This fixes serialization and deserialization of Pad Operator's constant value attributes that is integer data types other than I32 also fixed serialization of F16 constants to not crash, found in testing Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ic3987aad0e11b612de591eaeecd308d599d174e1
-
Changed to support new data type of Rescale shift attr: DenseI8ArrayAttr (instead of DenseI32ArrayAttr) LLVM_REFSPEC: refs/changes/55/532955/1 TF_REFSPEC: refs/changes/50/700450/3 Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I8f176ab95e167a8c4a0d3da605384509cf083d5e
-
- Jul 10, 2023
-
-
Tai Ly authored
Fix deserialization issues due to Axis attribute type changing from I64Attr to I32Attr to match the TOSA spec. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I16b6e4ef8c7e0db988f1ccec814face70302efa1
-
Tai Ly authored
Fixed dDeserialization of Table const to have either I8 or I16 element types based on input element type eventhough table const is always serialized as int16_t values. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I5d9972ba6a97a709003d73741c91bab31be06cf7
-
- Jun 21, 2023
-
-
Jerry-Ge authored
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Ie5687f9eda2208e86a5d1d50d073d59edf434524
-
- Jun 20, 2023
-
-
Jerry-Ge authored
Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Ia42e457222b1c81732bfcec2b729f295b17d4e81
-
- Jun 02, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I82f52fc3da7d6ea873c4822bb7089bf90ce10208
-
- May 26, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I5a8df06bc07718e6245bf2b1739bba1e26d54b4a
-
- May 25, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I7e43e5f967e846ef7a56064e2f1ce5a19939ac26
-
- May 06, 2023
-
-
Tai Ly authored
This BuildMlirFromTosaFile API deserializes a tosa fbs or json file and returns a mlir module as OwningOpRef<ModuleOp> This also refactors the existing deserialization passes to use the new API, and then copy the deserialized module's main function into the existing function, and copy all attributes of the new function and new module into the existing function and module. This allows testing of the new API by running deserialization passes. Here is an example showing the attributes on the deserialized module and functions: module attributes {tf_saved_model.semantics, tosa.description = "Tosa FBS Converted", tosa.fbs_version = "0.70.0d"} { func.func @main(%arg0: tensor<1x256x256x3xui8> {tf_saved_model.index_path = ["input_0"]}) -> (tensor<1x1x17x3xf32> {tf_saved_model.index_path = ["output_0"]}) attributes {tf.entry_function = {inputs = "tosa_de serialized_input_0:0", outputs = "tosa_deserialized_output_0:0"}, tf_saved_model.exported_names = ["tosa_deserialized"]} { Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Ia6c0202ef43ce5d37788cd459ed7c3f8424dd619
-
- Apr 26, 2023
-
-
Tai Ly authored
This changes serialization and deserialization of while and if ops to use regions instead of blocks. also changed deserialization to preserve original ordering such that: tosa1->deserialize->serialize->tosa2 => tosa1 == tosa2 most of the time. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I539076788bdc466ba1881d955af349e6b4924ed8
-
- Apr 25, 2023
-
-
Tai Ly authored
Pad constant attribute requires scalar values (instead of 1D tensor) Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: Iae0bf49b1b404c7b93d515a10b182c3906054e70
-
- Apr 22, 2023
-
-
Luke Hutton authored
Signed-off-by:
Luke Hutton <luke.hutton@arm.com> Change-Id: I4aae94438380d394b9c13015aa69ac52f9b73f74
-
- Mar 16, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: Ib156f187a034f0d7c485cec755c51ddca773a752
-
- Mar 09, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I2919607a4a625dd0fabab176b9452e21e937563b
-
- Mar 07, 2023
-
-
Dmitriy Smirnov authored
Change-Id: Ibd6b17cf38ff29ead307d180c45afed199cb525a Signed-off-by:
Dmitriy Smirnov <dmitriy.smirnov@arm.com>
-