Class StructuralKeyObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class StructuralKeyObj : public tvm::ffi::Object#

Object node that contains a key and its cached structural hash.

Public Functions

StructuralKeyObj() = default#
inline explicit StructuralKeyObj(Any key)#

Construct a StructuralKeyObj from a key and cache its structural hash.

Parameters:

key – The key value.

Public Members

Any key#

The key value.

int64_t hash_i64 = {0}#

Cached structural hash of key, encoded as int64_t.