aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-05Update serialization library submodule to 0.50v0.50.0v0.50Eric Kunze
In preparation for 0.50 release Change-Id: I2a66e5c68ba7f23334e5a542e16ee5336a1ae3de
2022-10-24Avoid crash when serializing unranked tensorEric Kunze
Report an error instead during serialization. Change-Id: Ib53b1c76079909aaf84f643655939d024d7eec0c
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-29Add conv3d supportTatWai Chong
Change-Id: If77423cbdb354a213677139d6cf4641db2bd6fcd
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
2022-05-20Update TOSA passesEric Kunze
Now works with LLVM hash 1cb299165c85 Primarily changes to match the upstream FuncOp move to the func dialect Change-Id: Ibc5c81c9f10d86d42970e2ec4885844826cd4868 Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2022-02-15Align serialize passes with current LLVMEric Kunze
Remove FunctionPass Simplify getValues code Change-Id: I054466ccb480148b82d81d900e1e9ffb4560e8af Signed-off-by: Eric Kunze <eric.kunze@arm.com>
2022-01-19Use getValues interface on ElementAttrEric Kunze
The existing getValue is removed in the latest LLVM changes Change-Id: Idb5e6e8a5f24bc6f76771ace8e5a8eddf6ee1a6f
2022-01-14Fix serialization of int48 valuesEric Kunze
Pull out of DenseElementAttr as APInt and extract uint64 for serializing Change-Id: Ib261c0e306bd4461b7ce9df21f90db966a1d0faf
2022-01-04Short-circuit output tensor name with input tensor name if they're the same ↵Kevin Cheng
mlir::Value Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I578802841fbcacb67560b07b26170a9efa166d52
2021-12-01Sort tensor list by name for serializationJared Smolens
- Tensors are stored in an unordered_map from mlir::Value::hash_value to tensor name. - Before serialization, sort the tensor list alphabetically by name so that tensors always appear in a determinstic (and logical) order. Signed-off-by: Jared Smolens <jared.smolens@arm.com> Change-Id: I21c0e2ec04b7520e6a753b8bf62572a702002d5b
2021-11-15First commit of tosa serialize passesKevin Cheng
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I1551017706f6e8af604792f48cdeb49b4da7ef0d
2021-11-15Initial empty repositoryEric Kunze