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

String-aware ObjectRef equal functor. More...

#include <container_ext.h>

Collaboration diagram for mxnet::runtime::ObjectRefEqual:
Collaboration graph

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 equal functor.

Member Function Documentation

◆ operator()()

bool mxnet::runtime::ObjectRefEqual::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 file: