Using [1] for representing shape of a scalar is incorrect, and will break with vectors of size 1.
- remove redundant helper functions
- fix couple of style warnings
Paths
| Differential D112764
[mlir] MathApproximations: scalars shape must be 0-rank ClosedPublic Authored by ezhulenev on Oct 28 2021, 3:34 PM.
Details Summary Using [1] for representing shape of a scalar is incorrect, and will break with vectors of size 1.
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 19 others. · View Herald TranscriptOct 28 2021, 3:34 PM This revision is now accepted and ready to land.Oct 28 2021, 6:22 PM Closed by commit rGec32d540f808: [mlir] MathApproximations: scalars shape must be 0-rank (authored by ezhulenev). · Explain WhyOct 29 2021, 4:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 383180 mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
|