My Project
|
#include <StandardTypes.h>
Public Member Functions | |
ArrayRef< int64_t > | getShape () const |
Static Public Member Functions | |
static UnrankedTensorType | get (Type elementType) |
static UnrankedTensorType | getChecked (Type elementType, Location location) |
static LogicalResult | verifyConstructionInvariants (Optional< Location > loc, MLIRContext *context, Type elementType) |
Verify the construction of a unranked tensor type. More... | |
static bool | kindof (unsigned kind) |
![]() | |
static ClassID * | getClassID () |
Return a unique identifier for the concrete type. More... | |
template<typename T > | |
static bool | classof (T val) |
Additional Inherited Members | |
![]() | |
using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
Utility declarations for the concrete attribute class. More... | |
using | ImplType = StorageT |
![]() | |
ImplType * | getImpl () const |
Utility for easy access to the storage instance. More... | |
![]() | |
template<typename... Args> | |
static ConcreteT | get (MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static ConcreteT | getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static LogicalResult | verifyConstructionInvariants (Args... args) |
Default implementation that just returns success. More... | |
Unranked tensor types represent multi-dimensional arrays that have an unknown shape.
|
static |
Get or create a new UnrankedTensorType of the provided shape and element type. Assumes the arguments define a well-formed type.
|
static |
Get or create a new UnrankedTensorType of the provided shape and element type declared at the given, potentially unknown, location. If the UnrankedTensorType defined by the arguments would be ill-formed, emit errors and return a nullptr-wrapping type.
|
inline |
|
inlinestatic |
|
static |
Verify the construction of a unranked tensor type.