Class Enum#

Inheritance Relationships#

Base Type#

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), which — given the register-once registry — is equivalent to sharing the same (type_key, name) pair.

See also

EnumObj