Managed reference to AllocateNode.
More...
#include <stmt.h>
|
| | Allocate (Var buffer_var, DataType dtype, Array< PrimExpr > extents, PrimExpr condition, Stmt body, Map< String, ObjectRef > annotations=Map< String, ObjectRef >(), Span span=Span()) |
| |
| | TVM_DEFINE_OBJECT_REF_METHODS (Allocate, Stmt, AllocateNode) |
| |
| | TVM_DEFINE_OBJECT_REF_COW_METHOD (AllocateNode) |
| |
| | TVM_DEFINE_OBJECT_REF_METHODS (Stmt, ObjectRef, StmtNode) |
| |
| | 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...
|
| |
Managed reference to AllocateNode.
- See also
- AllocateNode
◆ Allocate()
◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()
| tvm::tir::Allocate::TVM_DEFINE_OBJECT_REF_COW_METHOD |
( |
AllocateNode |
| ) |
|
◆ TVM_DEFINE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file: