tag | 54e95971cd5ef32bbc1f917191357c633db56726 | |
---|---|---|
tagger | Eric Kunze <eric.kunze@arm.com> | Wed Aug 31 14:22:12 2022 -0700 |
object | 19f83b5972a24230b5bf239836de5e1a816720b1 |
TOSA MLIR translator v0.40.0 release tag - Added support for Conv3d - Updated RESIZE to match the specification
commit | 19f83b5972a24230b5bf239836de5e1a816720b1 | [log] [tgz] |
---|---|---|
author | Eric Kunze <eric.kunze@arm.com> | Mon Aug 29 16:31:20 2022 -0700 |
committer | Eric Kunze <eric.kunze@arm.com> | Tue Aug 30 15:01:48 2022 -0700 |
tree | 69550616088ca212e5137b87073b76b999014e0c | |
parent | 218419bb16167170fb5ec38474d51e497b66d6e8 [diff] |
Update to revision 0.40.0 Include the new version of the serialization library Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ibffc81cd20aad50836f574375768ff8777ea280b
The TOSA MLIR Translator repository implements translators between the TOSA MLIR dialect and serialized representations.
The current implementation supports serialization from MLIR form to flatbuffers. A deserializer from flatbuffers to MLIR form is in development.
##TOSA serialization library https://review.mlplatform.org/plugins/gitiles/tosa/serialization_lib The library includes a FlatBuffers schema and a C++ API for reading and writing a TOSA graph as a flatbuffer.
This repository does not currently build standalone. It must be included within another MLIR repository with a pass manager registering the passes implemented within this repository.
The included CMake rules can be used to add this repository as a submodule. The include/SerializationPasses.h enables MLIR pass registration inclusion.
If target "tosa_serialize" is linked correctly, you should able to see "--tosa-serialize" and "--tosa-serialize-json" options available in your MLIR pass manager/MLIR optimizer.
To serialize a TOSA MLIR graph to TOSA flatbuffer binary file:
<YOUR_MLIR_OPTIMIZER> --tosa-serialize <TOSA_MLIR_GRAPH>
--tosa-flatbuffer-filename <TOSA_FLATBUFFER_FILENAME>
To serialize a TOSA MLIR graph to TOSA flatbuffer JSON file:
<YOUR_MLIR_OPTIMIZER> --tosa-serialize <TOSA_MLIR_GRAPH>
--tosa-flatbuffer-schema <PATH_TO_TOSA_FLATBUFFER_SCHEMA>
--tosa-flatbuffer-filename <TOSA_FLATBUFFER_FILENAME>
where <PATH_TO_TOSA_FLATBUFFER_SCHEMA> is provided within the serialization library submodule in third_party/serialization_lib/schema/tosa.fbs
The TOSA MLIR Translator is licensed under Apache-2.0 with LLVM Exceptions.