#include <nnet-common.h>
Definition at line 125 of file nnet-common.h.
◆ operator()()
size_t operator() |
( |
const std::vector< Cindex > & |
cindex_vector | ) |
const |
|
noexcept |
Definition at line 376 of file nnet-common.cc.
379 size_t kPrime = 23539, ans = 0;
380 std::vector<Cindex>::const_iterator iter = cindex_vector.begin(),
381 end = cindex_vector.end();
382 CindexHasher cindex_hasher;
383 for (; iter != end; ++iter)
384 ans = cindex_hasher(*iter) + kPrime * ans;
The documentation for this struct was generated from the following files: