Vowpal Wabbit
accumulate.h
Go to the documentation of this file.
1 /*
2 Copyright (c) by respective owners including Yahoo!, Microsoft, and
3 individual contributors. All rights reserved. Released under a BSD
4 license as described in the file LICENSE.
5  */
6 // This implements various accumulate functions building on top of allreduce.
7 #pragma once
8 #include "global_data.h"
9 
10 void accumulate(vw& all, parameters& weights, size_t o);
11 float accumulate_scalar(vw& all, float local_sum);
12 void accumulate_weighted_avg(vw& all, parameters& weights);
13 void accumulate_avg(vw& all, parameters& weights, size_t o);
void accumulate_weighted_avg(vw &all, parameters &weights)
Definition: accumulate.cc:117
void accumulate(vw &all, parameters &weights, size_t o)
Definition: accumulate.cc:20
float accumulate_scalar(vw &all, float local_sum)
Definition: accumulate.cc:44
void accumulate_avg(vw &all, parameters &weights, size_t o)
Definition: accumulate.cc:51