|
tvm
|
Content-aware structural hasing. More...
#include <structural_hash.h>
Public Member Functions | |
| size_t | operator() (const ObjectRef &key) const |
| Compute structural hashing value for an object. More... | |
Public Member Functions inherited from tvm::BaseValueHash | |
| size_t | operator() (const double &key) const |
| size_t | operator() (const int64_t &key) const |
| size_t | operator() (const uint64_t &key) const |
| size_t | operator() (const int &key) const |
| size_t | operator() (const bool &key) const |
| size_t | operator() (const std::string &key) const |
| size_t | operator() (const runtime::DataType &key) const |
| template<typename ENum , typename = typename std::enable_if<std::is_enum<ENum>::value>::type> | |
| bool | operator() (const ENum &key) const |
Content-aware structural hasing.
The structural hash value is recursively defined in the DAG of IRNodes. There are two kinds of nodes:
| size_t tvm::StructuralHash::operator() | ( | const ObjectRef & | key | ) | const |
Compute structural hashing value for an object.
| key | The left operand. |
1.8.13