Medial Code Documentation
Loading...
Searching...
No Matches
Functions
xgboost::common::cpu_impl Namespace Reference

Reduction with iterator. More...

Functions

template<typename It , typename V = typename It::value_type>
Reduce (Context const *ctx, It first, It second, V const &init)
 

Detailed Description

Reduction with iterator.

init must be additive identity. (0 for primitive types)