diff options
| author | Lei Zhang <antiagainst@google.com> | 2019-01-15 14:30:10 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 15:19:26 -0700 |
| commit | b7dbfd04ebd80577f38f4922e857ad821b908ff1 (patch) | |
| tree | 49b3031a420c9cc4922717f795c295afeea1e50b /mlir/lib/Analysis/AffineAnalysis.cpp | |
| parent | f9d2eb1c8c1d3678a78641d0786db59b4dcd14df (diff) | |
| download | bcm5719-llvm-b7dbfd04ebd80577f38f4922e857ad821b908ff1.tar.gz bcm5719-llvm-b7dbfd04ebd80577f38f4922e857ad821b908ff1.zip | |
Const fold splat tensors for TFLite AddOp, SubOp, MulOp
The constant folding rules assumes value attributes of operands are already
verified to be in good standing.
For each op in the above, the constant folding rules support both integer and
floating point cases. Broadcast behavior is also supported as per the semantics
of TFLite ops.
This CL does not handle overflow/underflow cases yet.
PiperOrigin-RevId: 229441221
Diffstat (limited to 'mlir/lib/Analysis/AffineAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions

