tvm
Public Member Functions | List of all members
tvm::runtime::ObjectHash Struct Reference

String-aware ObjectRef equal functor. More...

#include <base.h>

Collaboration diagram for tvm::runtime::ObjectHash:

Public Member Functions

size_t operator() (const ObjectRef &a) const
 Calculate the hash code of an ObjectRef. More...
 

Detailed Description

String-aware ObjectRef equal functor.

Member Function Documentation

◆ operator()()

size_t tvm::runtime::ObjectHash::operator() ( const ObjectRef a) const
inline

Calculate the hash code of an ObjectRef.

Parameters
aThe given ObjectRef
Returns
Hash code of a, string hash for strings and pointer address otherwise.

The documentation for this struct was generated from the following files: