Marian NMT
v1.11.3
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 NthElementGPU
View page source
Class NthElementGPU
¶
Defined in
File nth_element.cu
Class Documentation
¶
class
NthElementGPU
¶
Public Functions
NthElementGPU
(
)
¶
NthElementGPU
(
const
NthElementGPU
&
copy
)
¶
NthElementGPU
(
size_t
maxBeamSize
, size_t
maxBatchSize
,
DeviceId
deviceId
)
¶
~NthElementGPU
(
)
¶
void
getNBestList
(
Tensor
scores
, size_t
N
,
std
::vector<float> &
outCosts
,
std
::vector<unsigned> &
outKeys
,
const
bool
isFirst
)
¶