#include <expr.h>
|
| | DataflowVar (ffi::String name, ffi::Optional< Type > ty_annotation, Span span=Span()) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (DataflowVar, Var, DataflowVarNode) |
| |
| | 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) |
| |
| 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) |
| |
◆ DataflowVar()
| tvm::relax::DataflowVar::DataflowVar |
( |
ffi::String |
name, |
|
|
ffi::Optional< Type > |
ty_annotation, |
|
|
Span |
span = Span() |
|
) |
| |
|
explicit |
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE()
The documentation for this class was generated from the following file: