|
tvm
|
Managed reference to VarNode. More...
#include <expr.h>
Public Member Functions | |
| Var (ffi::String name, ffi::Optional< Type > ty_annotation, Span span=Span()) | |
| Var | CopyWithName (const ffi::String &name) const |
| Return a fresh ordinary Var with the same type and a new name. | |
| Var | CopyWithSuffix (const ffi::String &suffix) const |
| Return a fresh ordinary Var with a suffix appended to its name. | |
| Var | CopyWithDType (PrimType dtype) const |
| Return a fresh ordinary Var with a new primitive type. | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (Var, Expr, VarNode) | |
Public Member Functions inherited from tvm::Expr | |
| bool | operator== (const Expr &other) const =delete |
| bool | operator!= (const Expr &other) const =delete |
| bool | operator< (const Expr &other) const =delete |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (Expr, ffi::ObjectRef, ExprNode) | |
Managed reference to VarNode.
|
explicit |
Return a fresh ordinary Var with a new primitive type.
Return a fresh ordinary Var with the same type and a new name.
Return a fresh ordinary Var with a suffix appended to its name.