23 #ifndef TVM_ARITH_BOUND_H_ 24 #define TVM_ARITH_BOUND_H_ 31 #include <unordered_map> 56 IntSet
DeduceBound(PrimExpr v, PrimExpr cond,
const Map<Var, IntSet>& hint_map,
57 const Map<Var, IntSet>& relax_map);
69 const std::unordered_map<const VarNode*, IntSet>& hint_map,
70 const std::unordered_map<const VarNode*, IntSet>& relax_map);
81 bool consider_stores);
85 #endif // TVM_ARITH_BOUND_H_
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
IntSet DeduceBound(PrimExpr v, PrimExpr cond, const Map< Var, IntSet > &hint_map, const Map< Var, IntSet > &relax_map)
Deduce the bound of the target variable in a expression, give the domain of each variables. Return undefined IntSet to represent failure.
Array< Range > Region
Definition: var.h:176
Region DomainTouched(const Stmt &body, const tir::Buffer &buffer, bool consider_loads, bool consider_stores)
Infer a regular domain that covers all the calls or provides within the given statement.