MCPcopy Create free account
hub / github.com/dmlc/xgboost / empty

Method empty

src/common/param_array.h:46–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 const_reference operator[](size_type i) const { return values_[i]; }
45 reference operator[](size_type i) { return values_[i]; }
46 [[nodiscard]] bool empty() const { return values_.empty(); } // NOLINT
47 [[nodiscard]] std::size_t size() const { return values_.size(); } // NOLINT
48 [[nodiscard]] auto data() const { return values_.data(); } // NOLINT
49 ParamArray& operator=(std::vector<T> const& that) {

Callers 15

ValidateParametersMethod · 0.45
ResetMethod · 0.45
EvalOneIterMethod · 0.45
ParseIntFunction · 0.45
MakeDeviceOrdFunction · 0.45
InitMethod · 0.45
UpdateLeafValuesFunction · 0.45
UpdateTreeLeafFunction · 0.45
XGBSetGlobalConfigFunction · 0.45
GetCategoriesImplFunction · 0.45
GenerateFeatureMapFunction · 0.45
GHistIndexMatrixMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected