Age | Commit message (Collapse) | Author |
|
- 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
|
|
- 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
|
|
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: I19b86b954574bebdcac42205c65a23e7e43acb72
|
|
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
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I58f5a4696343697cd0c6b9d5dc1494ddaa1a2376
|
|
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
|
|
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
|
|
Signed-off-by: Won Jeon <won.jeon@arm.com>
Change-Id: Idf45f0a68f551039cc40a69d90aa5c53098bc238
|
|
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
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I82f52fc3da7d6ea873c4822bb7089bf90ce10208
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I5a8df06bc07718e6245bf2b1739bba1e26d54b4a
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I7e43e5f967e846ef7a56064e2f1ce5a19939ac26
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ib156f187a034f0d7c485cec755c51ddca773a752
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I2919607a4a625dd0fabab176b9452e21e937563b
|
|
Change-Id: Ibd6b17cf38ff29ead307d180c45afed199cb525a
Signed-off-by: Dmitriy Smirnov <dmitriy.smirnov@arm.com>
|
|
* 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
|
|
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I1563147809ec14e45dee759a14ff9b8f1078d865
|
|
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
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ifd50d2b158784ce566ba7c8009842f62e9361628
|
|
In preparation for 0.50 release
Change-Id: I2a66e5c68ba7f23334e5a542e16ee5336a1ae3de
|
|
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I5e45381c8b573d18c2e3241742c663623961c4d6
|
|
Adds accumulator data type where needed, and incorporates the new submodule
Change-Id: Ice1d5508bd94812b0092e6a6238abb14f1bbc399
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
|
|
Also includes fixes for more recent LLVM
(verified with LLVM commit 72142fbac496)
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I00a2cc4360731d5e63f129dfff9228e30aeedb36
|
|
Change-Id: Ia1c627c2f6dc6f7e7d4dc4530bacfdaaf7d058be
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
|
|
Include the new version of the serialization library
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ibffc81cd20aad50836f574375768ff8777ea280b
|
|
Attribute stride and shift are removed, and has new scale and border.
Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Change-Id: Id34072deb46ffce642530cc7499eb777cf9b82fc
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I3afe5429b9c5121cd80309e3d55f61c0da9526d9
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ia6653d960c8ae5407f098c476fbaf6287a321c82
|
|
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>
|
|
It does not exist in the specification, removing from serialized form
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I496e1d4906b3ba1b9e00a1adef4ff3e7bab3d8ba
|
|
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: If42a1c861fd9e811124d3f878fa1b38f5acac006
|
|
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: I1551017706f6e8af604792f48cdeb49b4da7ef0d
|