Class Var#
Defined in File ir.h
Inheritance Relationships#
Base Type#
public tvm::Expr(Class Expr)
Derived Type#
public tvm::tirx::TensorVar(Class TensorVar)
Class Documentation#
-
class Var : public tvm::Expr#
Managed reference to VarObj.
Subclassed by tvm::tirx::TensorVar
Public Functions
-
explicit Var(ffi::String name, Type ty, Location loc = UnknownLoc())#
-
inline explicit Var(::tvm::ffi::UnsafeInit tag)#
-
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 CopyWithType(Type type) const#
Return a fresh ordinary Var with a new type, retaining its metadata.
-
inline __PtrType operator->() const#
-
inline __PtrType get() const#
-
explicit Var(ffi::String name, Type ty, Location loc = UnknownLoc())#