| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[backport][mlir] Add Python bindings for DenseResourceElementsAttr. (#66319) Only construction and type casting are implemented. The method to create is explicitly named "unsafe" and the documentation calls out what the caller is responsible for. There really isn't a better way to do this and retain the power-user feature this represents. originally by: Stella Laurenzo reference: https://github.com/llvm/llvm-project/commit/f66cd9e9556a53142a26a5c21a72e21f1579 | 9 个月前 | |
[backport][mlir] Make it possible to build a DenseResourceElementsAttr from untyped memory. (#66009) Exposes the existing get(ShapedType, StringRef, AsmResourceBlob) builder publicly (was protected) and adds a CAPI mlirUnmanagedDenseBlobResourceElementsAttrGet. While such a generic construction interface is a big help when it comes to interop, it is also necessary for creating resources that don't have a standard C type (i.e. f16, the f8s, etc). Previously reviewed/approved as part of https://reviews.llvm.org/D157064 original by: Stella Laurenzo reference: https://github.com/llvm/llvm-project/commit/7055df7b4f6abf64f672703316bb8a7e7b185652 | 9 个月前 |