tvm_tirx::sym

Module int_set

Source
Expand description

Sets of integers.

The objects python/tvm_tirx/sym/int_set.py defines. IntSet is the base, and an IntervalSet is the interval between its min_value and max_value. The functions of int_set.py are here too: region bound estimation, bound deduction and the symbolic infinities.

Structs§

  • Opaque: no metadata of its own: total_size is unknown. Fields are read through the C ABI getters.
  • Opaque: parent ‘sym.IntSet’ is opaque (layout-unknown). Fields are read through the C ABI getters.

Functions§

  • The values of var for which cond holds, with the variables of hint_map over their sets and those of relax_map relaxed to theirs (sym.DeduceBound).
  • The region a set of affine accesses covers at least, given the domains of their variables and a predicate; None when the accesses are not affine (sym.EstimateRegionLowerBound).
  • The exact region a set of affine accesses covers, given the domains of their variables and a predicate; None when the accesses are not affine (sym.EstimateRegionStrictBound).
  • A region that holds what a set of accesses covers, given the domains of their variables and a predicate (sym.EstimateRegionUpperBound).
  • The symbolic negative infinity (sym.NegInf).
  • The symbolic positive infinity (sym.PosInf).
  • A subset of the union of sets, which may drop some of their segments (sym.UnionLowerBound).