iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.
http://iree.dev/
Apache License 2.0
2.85k stars 620 forks source link

[Codegen] Implement serialization for MaterializeEncodingInfo struct. #19260

Open hanhanW opened 15 hours ago

hanhanW commented 15 hours ago

The revision adds the support for conversion between MaterializeEncodingInfo struct and DictionaryAttr. It also implements the in(equality) operators for the struct to verify if the deserialized result match the original struct.

hanhanW commented 15 hours ago

The PR depends on https://github.com/iree-org/iree/pull/19257, please take a look at the last commit.