|
| | SizeVar (ObjectPtr< Object > n) |
| |
| | SizeVar (String name_hint="s", DataType t=DataType::Int(32), Span span=Span()) |
| | constructor More...
|
| |
| const SizeVarNode * | operator-> () const |
| | Get pointer to the internal value. More...
|
| |
| const SizeVarNode * | get () const |
| | Get pointer to the internal value. More...
|
| |
| | Var (ObjectPtr< Object > n) |
| |
| | Var (String name_hint="v", DataType dtype=DataType::Int(32), Span span=Span()) |
| | Constructor. More...
|
| |
| | Var (String name_hint, Type type_annotation, Span span=Span()) |
| | Constructor which provides a more detailed type annotation. More...
|
| |
| Var | copy_with_suffix (const String &suffix) const |
| | Make a new copy of var with same type, append suffix. More...
|
| |
| Var | copy_with_dtype (DataType dtype) const |
| | Make a new copy of the variable with specified dtype. More...
|
| |
| const VarNode * | operator-> () const |
| | Get pointer to the internal value. More...
|
| |
| const VarNode * | get () const |
| | Get pointer to the internal value. More...
|
| |
| | PrimExpr (int32_t value) |
| | construct from integer. More...
|
| |
| | PrimExpr (float value) |
| | construct from float. More...
|
| |
| DataType | dtype () const |
| |
| | TVM_DEFINE_OBJECT_REF_METHODS (PrimExpr, BaseExpr, PrimExprNode) |
| |
| | TVM_DEFINE_OBJECT_REF_METHODS (BaseExpr, ObjectRef, BaseExprNode) |
| |
| | ObjectRef ()=default |
| | default constructor More...
|
| |
| | ObjectRef (ObjectPtr< Object > data) |
| | Constructor from existing object ptr. More...
|
| |
| bool | same_as (const ObjectRef &other) const |
| | Comparator. More...
|
| |
| bool | operator== (const ObjectRef &other) const |
| | Comparator. More...
|
| |
| bool | operator!= (const ObjectRef &other) const |
| | Comparator. More...
|
| |
| bool | operator< (const ObjectRef &other) const |
| | Comparator. More...
|
| |
| bool | defined () const |
| |
| const Object * | get () const |
| |
| const Object * | operator-> () const |
| |
| bool | unique () const |
| |
| int | use_count () const |
| |
| template<typename ObjectType > |
| const ObjectType * | as () const |
| | Try to downcast the internal Object to a raw pointer of a corresponding type. More...
|
| |
a named variable represents a tensor index size