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::CrossEntropyPick
View page source
Function marian::cpu::CrossEntropyPick
¶
Defined in
File tensor_operators.cpp
Function Documentation
¶
void
marian::
cpu
::
CrossEntropyPick
(
Tensor
out
, Tensor
in
, Tensor
labelIndices
, float
labelSmoothingAlpha
= 0.f
)
¶