MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / SizesInByte

Method SizesInByte

include/LightGBM/feature_group.h:207–214  ·  view source on GitHub ↗

! * \brief Get sizes in byte of this object */

Source from the content-addressed store, hash-verified

205 * \brief Get sizes in byte of this object
206 */
207 size_t SizesInByte() const {
208 size_t ret = sizeof(is_sparse_) + sizeof(num_feature_);
209 for (int i = 0; i < num_feature_; ++i) {
210 ret += bin_mappers_[i]->SizesInByte();
211 }
212 ret += bin_data_->SizesInByte();
213 return ret;
214 }
215 /*! \brief Disable copy */
216 FeatureGroup& operator=(const FeatureGroup&) = delete;
217 /*! \brief Deep copy */

Callers 1

FeatureGroupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected