Managed reference to CallNode.
More...
#include <expr.h>
|
| TVM_TIRX_DLL | Call (ffi::Optional< Type > ret_ty, Expr op, ffi::Array< Expr > args, ffi::Optional< Attrs > attrs=std::nullopt, ffi::Array< Type > ty_args=ffi::Array< Type >(), Location loc=UnknownLoc()) |
| | Construct a Call, inferring only when ret_ty is absent. Construction preserves provisional IR; invoke Validate separately when needed.
|
| |
| TVM_TIRX_DLL void | Validate () const |
| | Check this Call against its registered operator contract.
|
| |
| | Call (ffi::ObjectPtr< CallNode > node) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Call, Expr, CallNode) |
| |
| | TVM_DEFINE_OBJECT_REF_COW_METHOD (CallNode) |
| |
| bool | operator== (const Expr &other) const =delete |
| |
| bool | operator!= (const Expr &other) const =delete |
| |
| bool | operator< (const Expr &other) const =delete |
| |
| | Expr (ffi::ObjectPtr< ExprNode > node) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Expr, ffi::ObjectRef, ExprNode) |
| |
Managed reference to CallNode.
◆ Call() [1/2]
Construct a Call, inferring only when ret_ty is absent. Construction preserves provisional IR; invoke Validate separately when needed.
◆ Call() [2/2]
| tvm::Call::Call |
( |
ffi::ObjectPtr< CallNode > |
node | ) |
|
|
inlineexplicit |
◆ ReinferType()
Recompute a result type from the Call's current explicit inputs.
This ignores the Call's stored result type and does not mutate the Call. Returns Missing when no deduction is available; inference errors propagate. This does not invoke the operator's validator.
◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()
| tvm::Call::TVM_DEFINE_OBJECT_REF_COW_METHOD |
( |
CallNode |
| ) |
|
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
| tvm::Call::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE |
( |
Call |
, |
|
|
Expr |
, |
|
|
CallNode |
|
|
) |
| |
◆ Validate()
Check this Call against its registered operator contract.
The documentation for this class was generated from the following file: