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