Marian NMT
v1.11.5
Contents:
Code Organisation
Expression graphs
Operations in the expression graph
Layers
Using Marian with factors
Library API
How to contribute to Marian
Writing documentation
Marian NMT
»
Library API
»
Class PerfectHash
View page source
Class PerfectHash
¶
Defined in
File fastopt.h
Class Documentation
¶
class
PerfectHash
¶
Public Functions
PerfectHash
(
const
std
::vector<uint64_t> &
v
)
¶
~PerfectHash
(
)
¶
uint32_t
operator[]
(
const
uint64_t &
key
)
const
¶
uint32_t
operator[]
(
const
char *
const
keyStr
)
const
¶
size_t
size
(
)
const
¶