Function marian::sum

Function Documentation

Expr marian::sum(Expr a, int ax = 0)

Compute the sum along the specified axis.

See

ReduceNodeOp

Parameters
  • ax: Axis along which to compute the sum. Default is 0.