Class RangeConstraintObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class RangeConstraintObj : public tvm::sym::ConstraintObj#

A variable lies in a half-open range. The range need not enumerate every attainable value.

Public Functions

inline RangeConstraintObj(Var var, Range range)#
inline explicit RangeConstraintObj(ffi::UnsafeInit tag)#

Public Members

Var var#

The variable whose possible values lie in the range.

Range range#

A half-open superset of the variable’s possible values.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#