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 NthElementCPU
View page source
Class NthElementCPU
¶
Defined in
File nth_element.cpp
Class Documentation
¶
class
NthElementCPU
¶
Public Functions
NthElementCPU
(
)
¶
NthElementCPU
(
const
NthElementCPU
&
copy
)
¶
void
getNBestList
(
Tensor
scores
, size_t
N
,
std
::vector<float> &
outPathScores
,
std
::vector<unsigned> &
outKeys
,
const
bool
isFirst
)
¶