v->Visit("value", &value);
}
- TVM_DLL static Expr make(Type t, uint64_t value);
+ TVM_DLL static Expr make(DataType t, uint64_t value);
static constexpr const char* _type_key = "UIntImm";
TVM_DECLARE_NODE_TYPE_INFO(UIntImm, ExprNode);
v->Visit("value", &value);
}
- TVM_DLL static Expr make(Type t, double value);
+ TVM_DLL static Expr make(DataType t, double value);
static constexpr const char* _type_key = "FloatImm";
TVM_DECLARE_NODE_TYPE_INFO(FloatImm, ExprNode);
v->Visit("value", &value);
}
- TVM_DLL static Expr make(Type t, Expr v);
+ TVM_DLL static Expr make(DataType t, Expr v);
static constexpr const char* _type_key = "Cast";
TVM_DECLARE_NODE_TYPE_INFO(Cast, ExprNode);
v->Visit("predicate", &predicate);
}
- TVM_DLL static Expr make(Type type, Var buffer_var, Expr index, Expr predicate);
+ TVM_DLL static Expr make(DataType type, Var buffer_var, Expr index, Expr predicate);
static constexpr const char* _type_key = "Load";
TVM_DECLARE_NODE_TYPE_INFO(Load, ExprNode);
v->Visit("value_index", &value_index);
}
- TVM_DLL static Expr make(Type type,
+ TVM_DLL static Expr make(DataType type,
std::string name,
Array<Expr> args,
CallType call_type,