Class Call#
Defined in File expr.h
Inheritance Relationships#
Base Type#
public tvm::Expr(Class Expr)
Class Documentation#
-
class Call : public tvm::Expr#
Managed reference to CallObj.
Public Functions
-
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.
-
inline explicit Call(::tvm::ffi::UnsafeInit tag)#
-
inline __PtrType operator->() const#
-
inline __PtrType get() const#
Public Static Functions
-
static Type ReinferType(const CallObj *call)#
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.
-
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())#