Class hash#
Defined in File registry.h
Inheritance Relationships#
Base Type#
public tvm::ffi::reflection::InfoTrait(Struct InfoTrait)
Class Documentation#
-
class hash : public tvm::ffi::reflection::InfoTrait#
InfoTrait to control whether a field participates in recursive hashing.
Usage:
refl::hash(false)marks a field to be excluded from RecursiveHash.Public Functions
-
inline explicit hash(bool include)#
Constructor.
- Parameters:
include – Whether the field should participate in hashing.
-
inline void Apply(TVMFFIFieldInfo *info) const#
Apply the hash flag to the field info.
- Parameters:
info – The field info.
-
inline explicit hash(bool include)#