Class hash#

Inheritance Relationships#

Base Type#

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.