This hashing object hashes just the structural aspects of the NnetExample without looking at the value of the features. More...
#include <nnet-discriminative-example.h>
Public Member Functions | |
size_t | operator() (const NnetDiscriminativeExample &eg) const noexcept |
size_t | operator() (const NnetDiscriminativeExample *eg) const noexcept |
This hashing object hashes just the structural aspects of the NnetExample without looking at the value of the features.
It will be used in combining egs into batches of all similar structure.
Definition at line 136 of file nnet-discriminative-example.h.
|
noexcept |
Definition at line 393 of file nnet-discriminative-example.cc.
References rnnlm::i, NnetDiscriminativeSupervision::indexes, and NnetDiscriminativeSupervision::name.
|
inlinenoexcept |
Definition at line 139 of file nnet-discriminative-example.h.