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

Method CheckAll

include/LightGBM/utils/array_args.h:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 }
184
185 inline static bool CheckAll(const std::vector<VAL_T>& array, VAL_T t) {
186 for (size_t i = 0; i < array.size(); ++i) {
187 if (array[i] != t) {
188 return false;
189 }
190 }
191 return true;
192 }
193};
194
195} // namespace LightGBM

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected