24 #ifndef TVM_ARITH_PATTERN_H_
25 #define TVM_ARITH_PATTERN_H_
Reference to PrimExprNode.
Definition: expr.h:115
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:289
Array< PrimExpr > DetectClipBound(const PrimExpr &e, const Array< tir::Var > &vars)
Detect if expression corresponds to clip bound of the vars.
Array< PrimExpr > DetectLinearEquation(const PrimExpr &e, const Array< tir::Var > &vars)
Detect if e can be rewritten as e = sum_{i=0}^{n-1} var[i] * coeff[i] + coeff[n] Where coeff[i] and b...
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36