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
»
Template Function marian::cpu::gAggregateReduce
View page source
Template Function marian::cpu::gAggregateReduce
¶
Defined in
File add.h
Function Documentation
¶
template<size_t
K
, class
Functor
, class
AggFunctor
>
void
marian::
cpu
::
gAggregateReduce
(
Functor
functor
, float
aggInit
,
AggFunctor
aggFunctor
,
const
functional::
Shape
full
, functional::
Tensor
<float>
out
, functional::Array<functional::
Tensor
<float>,
K
>
ins
, float
scale
= 1.0
)
¶