This comparator object compares just the structural aspects of the NnetExample without looking at the value of the features. More...
#include <nnet-example.h>
Public Member Functions | |
bool | operator() (const NnetExample &a, const NnetExample &b) const |
bool | operator() (const NnetExample *a, const NnetExample *b) const |
This comparator object compares just the structural aspects of the NnetExample without looking at the value of the features.
Like NnetExampleStructureHasher, it is sensitive to the order in which the differently-named NnetIo elements appear. This hashing object will be used in combining egs into batches of all similar structure.
Definition at line 159 of file nnet-example.h.
bool operator() | ( | const NnetExample & | a, |
const NnetExample & | b | ||
) | const |
Definition at line 172 of file nnet-example.cc.
References rnnlm::i, and NnetExample::io.
|
inline |
Definition at line 163 of file nnet-example.h.