We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0622eb commit c8de58dCopy full SHA for c8de58d
src/data/ellpack_page.cuh
@@ -159,6 +159,7 @@ struct EllpackAccessorImpl {
159
return this->null_value_ & ((Ind() << NullShift()) - Ind());
160
}
161
[[nodiscard]] XGBOOST_HOST_DEV_INLINE bst_idx_t NumBins() const { return gidx_fvalue_map.size(); }
162
+ [[nodiscard]] XGBOOST_HOST_DEV_INLINE bst_idx_t NumRows() const { return n_rows; }
163
[[nodiscard]] XGBOOST_HOST_DEV_INLINE size_t NumFeatures() const { return min_fvalue.size(); }
164
};
165
0 commit comments