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

String-aware ObjectRef hash functor. More...

#include <base.h>

Collaboration diagram for tvm::runtime::ObjectEqual:

Public Member Functions

bool operator() (const ObjectRef &a, const ObjectRef &b) const
 Check if the two ObjectRef are equal. More...
 

Detailed Description

String-aware ObjectRef hash functor.

Member Function Documentation

◆ operator()()

bool tvm::runtime::ObjectEqual::operator() ( const ObjectRef a,
const ObjectRef b 
) const
inline

Check if the two ObjectRef are equal.

Parameters
aOne ObjectRef
bThe other ObjectRef
Returns
String equality if both are strings, pointer address equality otherwise.

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