heterocl.tvm.arith module¶
Arithmetic data structure and utility
-
class
IntSet(handle)[source]¶ Bases:
heterocl.tvm._ffi.node.NodeBaseRepresent a set of integer in one dimension.
-
class
IntervalSet(handle)[source]¶ Bases:
heterocl.tvm.arith.IntSetRepresent set of continuous interval
-
class
ModularSet(handle)[source]¶ Bases:
heterocl.tvm.arith.IntSetRepresent range of (coeff * x + base) for x in Z
-
class
StrideSet(handle)[source]¶ Bases:
heterocl.tvm.arith.IntSetRepresent set of strided integers