tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::TensorStoreObj Class Reference

Store a primitive value to an indexed destination expression. More...

#include <stmt.h>

Inheritance diagram for tvm::TensorStoreObj:
Collaboration diagram for tvm::TensorStoreObj:

Public Member Functions

 TensorStoreObj (ffi::UnsafeInit tag)
 
 TensorStoreObj (Expr dest, PrimExpr value)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.TensorStore", TensorStoreObj, StmtObj)
 
- Public Member Functions inherited from tvm::StmtObj
 StmtObj ()=default
 
 StmtObj (Location loc)
 
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Stmt", StmtObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::StmtObj
static void RegisterReflection ()
 

Public Attributes

Expr dest
 The indexed destination expression.
 
ffi::Array< PrimExpr > indices
 The indices location to be stored.
 
PrimExpr value
 The value to be stored.
 
- Public Attributes inherited from tvm::StmtObj
Location loc = UnknownLoc()
 Location that points to the original source code. Reserved debug information.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::StmtObj
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr bool _type_s_eq_hash_subclass_kind_fixed = true
 
static constexpr const uint32_t _type_child_slots = 15
 

Detailed Description

Store a primitive value to an indexed destination expression.

buffer[i, j] = value;
PrimExpr value
The value to be stored.
Definition stmt.h:326

Constructor & Destructor Documentation

◆ TensorStoreObj() [1/2]

tvm::TensorStoreObj::TensorStoreObj ( ffi::UnsafeInit  tag)
inlineexplicit

◆ TensorStoreObj() [2/2]

tvm::TensorStoreObj::TensorStoreObj ( Expr  dest,
PrimExpr  value 
)
inline

Member Function Documentation

◆ RegisterReflection()

static void tvm::TensorStoreObj::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::TensorStoreObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.TensorStore"  ,
TensorStoreObj  ,
StmtObj   
)

Member Data Documentation

◆ dest

Expr tvm::TensorStoreObj::dest

The indexed destination expression.

◆ indices

ffi::Array<PrimExpr> tvm::TensorStoreObj::indices

The indices location to be stored.

◆ value

PrimExpr tvm::TensorStoreObj::value

The value to be stored.


The documentation for this class was generated from the following file: