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
»
Function marian::gpu::TopK
View page source
Function marian::gpu::TopK
¶
Defined in
File topk.cu
Function Documentation
¶
void
marian::
gpu
::
TopK
(
Tensor
outVal
, Tensor
outInd
,
Ptr
<
Allocator
>
allocator
,
const
Tensor
in
, int
k
, int
axis
, bool
descending
)
¶