|
tvm
|
Content-aware structural hashing. More...
#include <structural_hash.h>
Public Member Functions | |
| uint64_t | operator() (const ffi::Any &key) const |
| Compute structural hashing value for an object. More... | |
Public Member Functions inherited from tvm::BaseValueHash | |
| uint64_t | operator() (const float &key) const |
| uint64_t | operator() (const double &key) const |
| uint64_t | operator() (const int64_t &key) const |
| uint64_t | operator() (const uint64_t &key) const |
| uint64_t | operator() (const int &key) const |
| uint64_t | operator() (const bool &key) const |
| uint64_t | operator() (const runtime::DataType &key) const |
| template<typename ENum , typename = typename std::enable_if<std::is_enum<ENum>::value>::type> | |
| uint64_t | operator() (const ENum &key) const |
| uint64_t | operator() (const std::string &key) const |
| uint64_t | operator() (const ffi::Optional< int64_t > &key) const |
| uint64_t | operator() (const ffi::Optional< double > &key) const |
| TVM_FFI_INLINE uint64_t | HashPODValueInAny (const ffi::Any &key) const |
| Compute structural hash value for a POD value in Any. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from tvm::BaseValueHash | |
| template<typename T , typename U > | |
| uint64_t | Reinterpret (T value) const |
Content-aware structural hashing.
The structural hash value is recursively defined in the DAG of IRNodes. There are two kinds of nodes:
| uint64_t tvm::StructuralHash::operator() | ( | const ffi::Any & | key | ) | const |
Compute structural hashing value for an object.
| key | The left operand. |