mxnet
Public Member Functions | List of all members
mxnet::runtime::ObjectRefHash Struct Reference

String-aware ObjectRef hash functor. More...

#include <container_ext.h>

Collaboration diagram for mxnet::runtime::ObjectRefHash:
Collaboration graph

Public Member Functions

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

Detailed Description

String-aware ObjectRef hash functor.

Member Function Documentation

◆ operator()()

size_t mxnet::runtime::ObjectRefHash::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 file: