MLIR: mlir::ShapedTypeComponents Class Reference (original ) (raw )ShapedTypeComponents that represents the components of a ShapedType. More...
#include "[mlir/Interfaces/InferTypeOpInterface.h](InferTypeOpInterface%5F8h%5Fsource.html)"
ShapedTypeComponents that represents the components of a ShapedType.
The components consist of
A ranked or unranked shape with the dimension specification match those of ShapeType's getShape() (e.g., dynamic dimension represented using ShapedType::kDynamic)
A element type, may be unset (nullptr)
A attribute, may be unset (nullptr) Used by ShapedType type inferences.
Definition at line 107 of file InferTypeOpInterface.h .
mlir::ShapedTypeComponents::ShapedTypeComponents ( )
inline
◆ ShapedTypeComponents() [2/6]
mlir::ShapedTypeComponents::ShapedTypeComponents ( Type elementType )
inline
◆ ShapedTypeComponents() [3/6]
mlir::ShapedTypeComponents::ShapedTypeComponents ( ShapedType shapedType )
inline
◆ ShapedTypeComponents() [4/6]
mlir::ShapedTypeComponents::ShapedTypeComponents ( ShapeAdaptor adaptor )
inline
◆ ShapedTypeComponents() [5/6]template<typename Arg , typename = std::enable_if_t< std::is_constructible<ShapeStorageT, Arg>::value>>
mlir::ShapedTypeComponents::ShapedTypeComponents ( Arg && arg , Type elementType = nullptr, Attribute attr = nullptr )
inline
◆ ShapedTypeComponents() [6/6]
mlir::ShapedTypeComponents::ShapedTypeComponents ( ArrayRef < int64_t > vec , Type elementType = nullptr, Attribute attr = nullptr )
inline
◆ getAttribute()
Attribute mlir::ShapedTypeComponents::getAttribute ( ) const
inline
◆ getDims()
ArrayRef <int64_t> mlir::ShapedTypeComponents::getDims ( ) const
inline
◆ getElementType()
Type mlir::ShapedTypeComponents::getElementType ( ) const
inline
◆ hasRank()
bool mlir::ShapedTypeComponents::hasRank ( ) const
inline
◆ ShapeAdaptor
The documentation for this class was generated from the following file: