MLIR
20.0.0git
|
Parses the Sparse Tensor Encoding Attribute (STEA). More...
#include "Dialect/SparseTensor/IR/Detail/DimLvlMapParser.h"
Public Member Functions | |
DimLvlMapParser (AsmParser &parser) | |
FailureOr< DimLvlMap > | parseDimLvlMap () |
Parses the Sparse Tensor Encoding Attribute (STEA).
General syntax is as follows,
[s0, ...] // optional forward decl sym-vars {l0, ...} // optional forward decl lvl-vars ( d0 = ..., // dim-var = dim-exp ... ) -> ( l0 = ..., // lvl-var = lvl-exp ... )
with simplifications when variables are implicit.
Definition at line 36 of file DimLvlMapParser.h.
|
inlineexplicit |
Definition at line 38 of file DimLvlMapParser.h.
FailureOr< DimLvlMap > DimLvlMapParser::parseDimLvlMap | ( | ) |