Function marian::weighted_average

Function Documentation

Expr marian::weighted_average(Expr in, Expr weights, int ax)

Compute the weighted arithmetic mean along the specified axis.