◆ CopyAndCollect()
void xgboost::tree::MultiExpandEntry::CopyAndCollect |
( |
MultiExpandEntry const & |
that, |
|
|
std::vector< uint32_t > * |
collected_cat_bits, |
|
|
std::vector< std::size_t > * |
cat_bits_sizes, |
|
|
std::vector< GradientPairPrecise > * |
collected_gradients |
|
) |
| |
|
inline |
Copy primitive fields into this, and collect cat_bits and gradients into vectors.
This is used for allgather.
- Parameters
-
that | The other entry to copy from |
collected_cat_bits | The vector to collect cat_bits |
cat_bits_sizes | The sizes of the collected cat_bits |
collected_gradients | The vector to collect gradients |
The documentation for this struct was generated from the following file: