Comments (2)
I already have the patch ready ;)
from mlir-emitc.
Replace all uses of
i64ElementsAttr(int64_t, size_t, MLIRContext*)
andgetI64ElementsAttr(const ArrayRef<long>, MLIRContext *)
withrewriter.getDenseI64ArrayAttr(ArrayRef<int64_t>)
.
Well essentially we can replace getI64ElementsAttr
with rewriter.getI64TensorAttr
. getDenseI64ArrayAttr
get's you a DenseI64ArrayAttr
which cannot be emitted by the CppEmitter.
from mlir-emitc.
Related Issues (20)
- C/C++ generated code sample HOT 2
- cmake error HOT 2
- Question about test file HOT 1
- Invalid Pass Pipeline HOT 1
- Variadic MHLO reduce support HOT 6
- Composing legalizations HOT 6
- Add support for `tosa.argmax` HOT 1
- MHLO select scalar pred support HOT 1
- Reenable `tosa.rescale` test
- Plan to handle quantization for tosa-to-emitc? HOT 3
- hi,where I can find InsertEmitCTosaIncludeBase definition? thx! HOT 1
- Refactor types of attributes passed in TOSA reference implementation
- Refactor type of shift argument passed to tosa.mul
- Safe keras models in newer file format
- Refactor type of shift argument passed to tosa.rescale
- Missing Operations in emitC MHLO HOT 1
- Extend mhlo::slice for Tensor3D HOT 1
- Extend mhlo::concatenate
- Make SliceOp implementation dimension agnostic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlir-emitc.