Class Enum#

Inheritance Relationships#

Base Type#

Derived Types#

Class Documentation#

class Enum : public tvm::ffi::ObjectRef#

ObjectRef wrapper for EnumObj.

Holds a shared reference to a registered singleton. Two Enum values compare structurally equal if and only if they point at the same underlying object (see kTVMFFISEqHashKindUniqueInstance).

See also

EnumObj

Subclassed by tvm::ffi::IntEnum, tvm::ffi::StrEnum