ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::TensorNameCompare Struct Reference

To use TensorName as a key in std::map, this struct defines how to compare two TensorNames. More...

#include <Names.h>

Public Member Functions

bool operator() (const TensorName &lhs, const TensorName &rhs) const
 

Detailed Description

To use TensorName as a key in std::map, this struct defines how to compare two TensorNames.

Definition at line 86 of file Names.h.

Member Function Documentation

◆ operator()()

bool moco::TensorNameCompare::operator() ( const TensorName lhs,
const TensorName rhs 
) const
inline

Definition at line 88 of file Names.h.

89 {
90 return lhs.name() < rhs.name();
91 }

References moco::TensorName::name().


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